Skip to content

Commit

Permalink
add E501 line too long to flake8 ignore list
Browse files Browse the repository at this point in the history
  • Loading branch information
rjchallis committed Jul 8, 2024
1 parent 985748b commit 9b80b52
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/flake8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: flake8 Lint
uses: TrueBrain/actions-flake8@v2
with:
ignore: E203,E701,W503,W504
ignore: E203,E501,E701,W503,W504
max_line_length: 88
path: src
plugins: flake8-black flake8-isort flake8-quotes
Expand Down
8 changes: 3 additions & 5 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
{
"git.ignoreLimitWarning": true,
"editor.formatOnSave": true,
"flake8.args": [
"--max-line-length=88"
],
"flake8.args": ["--max-line-length=88", "--extend-ignore=E203,E501,E701"],
"[python]": {
"editor.codeActionsOnSave": {
"source.organizeImports.python": "explicit"
},
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.formatOnSave": true,
"editor.formatOnSave": true
}
}
}
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ description-file=README.md

[flake8]
max-line-length = 88
extend-ignore = E203,E701
extend-ignore = E203,E501,E701
inline-quotes = double
exclude = src/kinfin.py,scripts

0 comments on commit 9b80b52

Please sign in to comment.