-
-
Notifications
You must be signed in to change notification settings - Fork 46.8k
refactor: move flake8 config #7167
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
Changes from 1 commit
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 |
---|---|---|
@@ -1,3 +1,8 @@ | ||
[flake8] | ||
max-line-length = 88 | ||
max-complexity = 25 | ||
extend-ignore = | ||
A003 # Class attribute is shadowing a python builtin | ||
# Formatting style for `black` | ||
E203 # Whitespace before ':' | ||
W503 # Line break occurred before a binary operator |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,10 +36,6 @@ repos: | |
rev: 5.0.4 | ||
hooks: | ||
- id: flake8 | ||
args: | ||
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. Please add a comment on where to find the config settings. |
||
- --ignore=E203,W503 | ||
- --max-complexity=25 | ||
- --max-line-length=88 | ||
additional_dependencies: | ||
- flake8-bugbear | ||
- flake8-builtins | ||
|
@@ -51,7 +47,7 @@ repos: | |
- id: mypy | ||
args: | ||
- --ignore-missing-imports | ||
- --install-types # See mirrors-mypy README.md | ||
- --install-types # See mirrors-mypy README.md | ||
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. I like two space much more. It visually separates the code from the comments 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. That's done by the formatter: https://github.com/redhat-developer/yaml-language-server |
||
- --non-interactive | ||
additional_dependencies: [types-requests] | ||
|
||
|
Uh oh!
There was an error while loading. Please reload this page.