Skip to content

Commit

Permalink
Allow pure strings and urls to be slightly longer
Browse files Browse the repository at this point in the history
  • Loading branch information
avylove committed Oct 6, 2022
1 parent 79d6b20 commit 824209d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ output-format=colorized
# Use max line length of 100
max-line-length=100

# Regexp for a line that is allowed to be longer than the limit.
# URLs and pure strings
ignore-long-lines=^\s*(# )?<?https?://\S+>?$|^\s*[f|r|u]?b?[\"\'\`].+[\"\'\`]$

[DESIGN]
# Maximum number of branch for function / method body.
max-branches=15
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ python_files = test_*.py
testpaths = tests

[flake8]
max-line-length = 100
max-line-length = 110
exclude = .svn,CVS,.bzr,.hg,.git,__pycache__,.tox,.eggs,*.egg,build,notes

[pycodestyle]
max-line-length = 100
max-line-length = 110

[coverage:run]
branch = True
Expand Down

0 comments on commit 824209d

Please sign in to comment.