mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-23 23:13:38 -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
|
||||
|
||||
check-pep8:
|
||||
cd web && pycodestyle --config=.pycodestyle .
|
||||
cd tools && pycodestyle --config=../web/.pycodestyle .
|
||||
cd web && pycodestyle --config=../.pycodestyle .
|
||||
cd tools && pycodestyle --config=../.pycodestyle .
|
||||
|
||||
check-python:
|
||||
cd web && python regression/runtests.py --exclude feature_tests
|
||||
|
@ -19,8 +19,9 @@ import re
|
||||
import codecs
|
||||
|
||||
ALLOWED_FILE_EXTENSIONS = (
|
||||
".py", ".js", ".sql", ".cpp", ".h", ".rc", ".am", ".wsgi", ".pro", ".plist",
|
||||
".rst", ".sh", ".in", ".mako", ".ini", ".jsx", ".rtf", ".rst", "LICENSE"
|
||||
".py", ".js", ".sql", ".cpp", ".h", ".rc", ".am", ".wsgi", ".pro",
|
||||
".plist", ".rst", ".sh", ".in", ".mako", ".ini", ".jsx", ".rtf", ".rst",
|
||||
"LICENSE"
|
||||
)
|
||||
|
||||
EXCLUDE_DIR = ("node_modules")
|
||||
|
Loading…
Reference in New Issue
Block a user