chore: clean files using pre-commit
This commit is contained in:
parent
f4dbc584e1
commit
0061e82ecd
81 changed files with 137 additions and 128 deletions
2
front/scripts/contextualize.py
Normal file → Executable file
2
front/scripts/contextualize.py
Normal file → Executable file
|
|
@ -1,3 +1,5 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
import argparse
|
||||
import polib
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
"""
|
||||
This scripts handles all the heavy-lifting of parsing CSS files from ``fomantic-ui-css`` and:
|
||||
|
||||
|
|
|
|||
|
|
@ -9,4 +9,4 @@ sed -i '/@import url(/d' node_modules/fomantic-ui-css/components/site.css
|
|||
echo "Replacing hardcoded values by CSS vars…"
|
||||
scripts/fix-fomantic-css.py node_modules/fomantic-ui-css node_modules/fomantic-ui-css/tweaked
|
||||
echo 'Fixing jQuery import…'
|
||||
sed -i '1s/^/import jQuery from "jquery"\n/' `find node_modules/fomantic-ui-css/ -name '*.js'`
|
||||
sed -i '1s/^/import jQuery from "jquery"\n/' `find node_modules/fomantic-ui-css/ -name '*.js'`
|
||||
|
|
|
|||
2
front/scripts/print-duplicates-source.py
Normal file → Executable file
2
front/scripts/print-duplicates-source.py
Normal file → Executable file
|
|
@ -1,3 +1,5 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
import argparse
|
||||
import collections
|
||||
import polib
|
||||
|
|
|
|||
2
front/scripts/utils.sh
Normal file → Executable file
2
front/scripts/utils.sh
Normal file → Executable file
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env bash -S -eux
|
||||
#!/usr/bin/env -S bash -eux
|
||||
|
||||
npm_binaries () {
|
||||
command -v yarn > /dev/null && yarn bin || npm bin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue