diff options
author | pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> | 2022-08-08 20:19:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-08 20:19:40 +0200 |
commit | 09e5ce9152d979ad9b53f4f798b98d4ac186d145 (patch) | |
tree | 0cd54fa8032c92533c407b2fcb0caa2487b7fdcc /setup.cfg | |
parent | b92f2ebe8d055fdb130292958f13fd401484315b (diff) | |
download | astroid-git-09e5ce9152d979ad9b53f4f798b98d4ac186d145.tar.gz |
[pre-commit.ci] pre-commit autoupdate (#1726)
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.37.2 → v2.37.3](https://github.com/asottile/pyupgrade/compare/v2.37.2...v2.37.3)
- https://github.com/Pierre-Sassoulas/black-disable-checker/: v1.1.0 → v1.1.1
- [github.com/PyCQA/flake8: 4.0.1 → 5.0.3](https://github.com/PyCQA/flake8/compare/4.0.1...5.0.3)
* Disable line too long and line break before binary operator
As there's a lot of the format and the latter is incompatible with black.
* [flake8] Deactivate the check for return and yield together
It's opinionated see https://github.com/PyCQA/flake8-bugbear/issues/2
and every current warning is a false positive.
* Explain falke8 disables
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
Diffstat (limited to 'setup.cfg')
-rw-r--r-- | setup.cfg | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -25,7 +25,15 @@ include_trailing_comma = True skip_glob = tests/testdata [flake8] -extend-ignore = E203,E266,E501,C901,F401 +extend-ignore = + C901, # Function complexity checker + F401, # Unused imports + E203, # Incompatible with black see https://github.com/psf/black/issues/315 + W503, # Incompatible with black + E501, # Line too long + B950, # Line too long + B901 # Combine yield and return statements in one function +max-line-length=88 max-complexity = 20 select = B,C,E,F,W,T4,B9 # Required for flake8-typing-imports (v1.12.0) |