mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-03 12:10:55 -06:00
Fix PEP-8 issue and move the pycodestyle config into a central location.
This commit is contained in:
parent
a4bc26c810
commit
9273da2dc6
4
Makefile
4
Makefile
@ -35,8 +35,8 @@ check: install-node bundle linter
|
|||||||
cd web && pycodestyle --config=.pycodestyle . && yarn run karma start --single-run && python regression/runtests.py
|
cd web && pycodestyle --config=.pycodestyle . && yarn run karma start --single-run && python regression/runtests.py
|
||||||
|
|
||||||
check-pep8:
|
check-pep8:
|
||||||
cd web && pycodestyle --config=.pycodestyle .
|
cd web && pycodestyle --config=../.pycodestyle .
|
||||||
cd tools && pycodestyle --config=../web/.pycodestyle .
|
cd tools && pycodestyle --config=../.pycodestyle .
|
||||||
|
|
||||||
check-python:
|
check-python:
|
||||||
cd web && python regression/runtests.py --exclude feature_tests
|
cd web && python regression/runtests.py --exclude feature_tests
|
||||||
|
@ -19,8 +19,9 @@ import re
|
|||||||
import codecs
|
import codecs
|
||||||
|
|
||||||
ALLOWED_FILE_EXTENSIONS = (
|
ALLOWED_FILE_EXTENSIONS = (
|
||||||
".py", ".js", ".sql", ".cpp", ".h", ".rc", ".am", ".wsgi", ".pro", ".plist",
|
".py", ".js", ".sql", ".cpp", ".h", ".rc", ".am", ".wsgi", ".pro",
|
||||||
".rst", ".sh", ".in", ".mako", ".ini", ".jsx", ".rtf", ".rst", "LICENSE"
|
".plist", ".rst", ".sh", ".in", ".mako", ".ini", ".jsx", ".rtf", ".rst",
|
||||||
|
"LICENSE"
|
||||||
)
|
)
|
||||||
|
|
||||||
EXCLUDE_DIR = ("node_modules")
|
EXCLUDE_DIR = ("node_modules")
|
||||||
|
Loading…
Reference in New Issue
Block a user