Skip to content

Commit

Permalink
Merge pull request #547 from python-rope/lieryan-add-flake8-config
Browse files Browse the repository at this point in the history
Add config file for linters
  • Loading branch information
lieryan committed Nov 28, 2022
2 parents f370f4c + 7b43396 commit d168c76
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions setup.cfg
@@ -0,0 +1,15 @@
[flake8]
extend-ignore =
# F841: local variable `name` is assigned to but never used
# while useful as a warning while writing code, the workarounds to avoid
# getting this error is often worst than the original problem
F841

# E203: whitespace before ':'
# this rule contradicts black codestyle
E203

max-line-length = 110

[pycodestyle]
max-line-length = 110

0 comments on commit d168c76

Please sign in to comment.