diff options
author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 2022-12-06 23:23:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-06 23:23:37 +0100 |
commit | 233b9d6fe8efb5bb1e270f275201654d1e7467c8 (patch) | |
tree | e5ce2ab26bc4463ce4f5aaa438fd958b8d80358f | |
parent | 0ff97ddd3ff4fc1e044f76b72cea6c3e1b7e6127 (diff) | |
download | pylint-git-233b9d6fe8efb5bb1e270f275201654d1e7467c8.tar.gz |
Bump flake8 from 5.0.4 to 6.0.0 (#7859)
Bumps [flake8](https://github.com/pycqa/flake8) from 5.0.4 to 6.0.0.
- [Release notes](https://github.com/pycqa/flake8/releases)
- [Commits](https://github.com/pycqa/flake8/compare/5.0.4...6.0.0)
---
updated-dependencies:
- dependency-name: flake8
dependency-type: direct:production
update-type: version-update:semver-major
...
* Fix regression with inline comment
* Update flake8 config
* doc about required python interpreters for contributors
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
-rw-r--r-- | doc/development_guide/contributor_guide/contribute.rst | 5 | ||||
-rw-r--r-- | requirements_test_pre_commit.txt | 2 | ||||
-rw-r--r-- | setup.cfg | 9 |
3 files changed, 11 insertions, 5 deletions
diff --git a/doc/development_guide/contributor_guide/contribute.rst b/doc/development_guide/contributor_guide/contribute.rst index 492f8966b..0aaf2f8ed 100644 --- a/doc/development_guide/contributor_guide/contribute.rst +++ b/doc/development_guide/contributor_guide/contribute.rst @@ -57,8 +57,9 @@ Creating a pull request Got a change for Pylint? Below are a few steps you should take to make sure your patch gets accepted: -- We recommend using Python 3.8 or higher for development of Pylint as it gives - you access to the latest ``ast`` parser. +- You must use at least Python 3.8 for development of Pylint as it gives + you access to the latest ``ast`` parser and some pre-commit hooks do not + support python 3.7. - Install the dev dependencies, see :ref:`contributor_install`. diff --git a/requirements_test_pre_commit.txt b/requirements_test_pre_commit.txt index 14daa70da..74eec8d62 100644 --- a/requirements_test_pre_commit.txt +++ b/requirements_test_pre_commit.txt @@ -1,7 +1,7 @@ # Everything in this file should reflect the pre-commit configuration # in .pre-commit-config.yaml black==22.10.0 -flake8==5.0.4 +flake8==6.0.0 flake8-bugbear==22.10.27 flake8-typing-imports==1.14.0 isort==5.10.1 @@ -9,9 +9,14 @@ license_files = CONTRIBUTORS.txt [flake8] +# 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 ignore = - E203, W503, # Incompatible with black see https://github.com/ambv/black/issues/315 - E501, # Lot of lines too long right now + E203, + W503, + E501 max-line-length=88 max-complexity=39 # Required for flake8-typing-imports (v1.12.0) |