-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add linters to Travis: Python #264
base: master
Are you sure you want to change the base?
Changes from 11 commits
0495331
1bf5135
d39e8e0
4be1b9a
964da96
2f9aa74
44e6c07
4ff8daf
1c58ea1
10c960d
f24ea1d
37bf898
3bb288e
005b776
92e08d1
5a2cf2b
b1c49db
a9af369
74cd30e
799a242
d45786b
40b07dd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[flake8] | ||
# D203 1 blank line required before class docstring | ||
# H201 no 'except:' at least use 'except Exception:' | ||
# H302 import only modules | ||
# H405 multi line docstring summary not separated with an empty line | ||
ignore = D203,H201,H302,H405 | ||
# H106: Don’t put vim configuration in source files | ||
# H203: Use assertIs(Not)None to check for None | ||
enable-extensions = H106,H203 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. All There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done |
||
max-complexity = 50 | ||
max-line-length = 120 | ||
exclude =.env,.git,doc,*lib/python*,build,dist,*.egg | ||
show-source = True | ||
builtins = _ | ||
|
||
[pylint] | ||
disable = C0103,C0111,F0010 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Put comments with description what are you disabling (like in 2-5 lines) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done |
||
ignore = .env,.git,doc,*lib/python*,build,dist,*.egg | ||
ignore-docstrings = yes | ||
output-format = parseable | ||
max-line-length = 120 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove duplicated shellcheck stage
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done