-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into dockerhub
* master: (33 commits) Fix wrong-import-order, leave enabled Disable wrong-import-order Fix wrong-import-order Fix unused-import Revert "Clean up unused-imports" Backtrack wrong-import-position; it gives conflicting advise on the location of imported modules. Fix wrong-import-position Fix wrong-import-order, trying wrong-import-position Clean up unused-imports Enable unused-export linting lint.sh: revise to also work as pre-commit hook lint: pydocstyle for config.py lint: add convenience lint.sh script lint: update travis.yml Cleanup lint Add pycodestyle to CI Lint cleanup lint: pycodestyle misc lint: pycodestyle exclude gae-python from jQuery-File-Upload Fix mongodb error reporting ...
- Loading branch information
Showing
22 changed files
with
626 additions
and
1,598 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
[MESSAGES CONTROL] | ||
|
||
# Only show warnings with the listed confidence levels. Leave empty to show | ||
# all. Valid levels: HIGH, INFERENCE, INFERENCE_FAILURE, UNDEFINED | ||
confidence= | ||
|
||
# Disable the message, report, category or checker with the given id(s). You | ||
# can either give multiple identifiers separated by comma (,) or put this | ||
# option multiple times (only on the command line, not in the configuration | ||
# file where it should appear only once).You can also use "--disable=all" to | ||
# disable everything first and then reenable specific checks. For example, if | ||
# you want to run only the similarities checker, you can use "--disable=all | ||
# --enable=similarities". If you want to run only the classes checker, but have | ||
# no Warning level messages displayed, use"--disable=all --enable=classes | ||
# --disable=W" | ||
disable=duplicate-code, | ||
# # PASSING | ||
# bad-whitespace, | ||
# empty-docstring, | ||
# import-error, | ||
# len-as-condition, | ||
# missing-docstring, | ||
# no-member, | ||
# redefined-builtin, | ||
# redefined-outer-name, | ||
# reimported, | ||
# undefined-variable, | ||
# ungrouped-imports, | ||
# unnecessary-pass, | ||
# unused-variable, | ||
# useless-import-alias, | ||
# # NEXT | ||
# protected-access, | ||
# # IMPORTS | ||
# unused-import, | ||
# wrong-import-order, | ||
# wrong-import-position, | ||
# # EXCEPTS | ||
bare-except, | ||
# # CLEAN LOGIC | ||
inconsistent-return-statements, | ||
no-else-return, | ||
pointless-string-statement, | ||
simplifiable-if-statement, | ||
unused-argument, | ||
# # SPACE | ||
line-too-long, | ||
bad-continuation, | ||
# # STRICT NAMING | ||
invalid-name, | ||
# # IGNORE | ||
consider-using-in, | ||
consider-using-set-comprehension, | ||
no-self-use, | ||
too-few-public-methods, | ||
too-many-arguments, | ||
too-many-branches, | ||
too-many-function-args, | ||
too-many-instance-attributes, | ||
too-many-lines, | ||
too-many-locals, | ||
too-many-nested-blocks, | ||
too-many-statements | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
language: python | ||
python: | ||
- "3.6" | ||
cache: pip | ||
install: | ||
- pip install -r requirements.txt | ||
- pip install -r dev_requirements.txt | ||
script: | ||
# At the moment only test files under Blueprint modules. | ||
- pycodestyle | ||
- pylint app/ | ||
- pydocstyle --match-dir='(?!(static|[^\.].*))' | ||
|
||
# Test for javascript code style - not yet implemented | ||
# - cd ./app/static | ||
# - .\node_modules\.bin\eslint ./js/*.js | ||
# - ./node_modules/.bin/eslint ./js/upload.js | ||
# - cd ../.. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.