diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2023-01-16 23:04:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-16 23:04:25 +0100 |
commit | 4a5b4e63c8177ec1b1c7d1ecb4eb2c448c7481a3 (patch) | |
tree | 33c7d491e2462d766aa0c3f360f9499e1cce809e /setup.cfg | |
parent | eae0eaff11239db4dc89d570d120ff0a6cbe1e61 (diff) | |
download | pylint-git-4a5b4e63c8177ec1b1c7d1ecb4eb2c448c7481a3.tar.gz |
[style] Limit line length and complexity using flake8 (#8064)
125 is a good start. The check was activated in pylint with value = 100, but flake8 is less lenient than pylint and does not make any exceptions (for docstrings, strings and comments in particular).
Diffstat (limited to 'setup.cfg')
-rw-r--r-- | setup.cfg | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -12,15 +12,14 @@ license_files = # Incompatible with black see https://github.com/ambv/black/issues/315 # E203: Whitespace before ':' # W503: Line break occurred before a binary operator -# E501: Line too long # B028: consider using the `!r` conversion flag ignore = E203, W503, - E501, B028, -max-line-length=88 -max-complexity=39 +# Flake8 is less lenient than pylint and does not make any exceptions +# (for docstrings, strings and comments in particular). +max-line-length=125 # Required for flake8-typing-imports (v1.12.0) # The plugin doesn't yet read the value from pyproject.toml min_python_version = 3.7.2 |