Skip to content

Commit 233b9d6

Browse files
dependabot[bot]Pierre-Sassoulascdce8p
authored
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](PyCQA/flake8@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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Pierre Sassoulas <[email protected]> Co-authored-by: Marc Mueller <[email protected]>
1 parent 0ff97dd commit 233b9d6

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

doc/development_guide/contributor_guide/contribute.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,9 @@ Creating a pull request
5757
Got a change for Pylint? Below are a few steps you should take to make sure
5858
your patch gets accepted:
5959

60-
- We recommend using Python 3.8 or higher for development of Pylint as it gives
61-
you access to the latest ``ast`` parser.
60+
- You must use at least Python 3.8 for development of Pylint as it gives
61+
you access to the latest ``ast`` parser and some pre-commit hooks do not
62+
support python 3.7.
6263

6364
- Install the dev dependencies, see :ref:`contributor_install`.
6465

requirements_test_pre_commit.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Everything in this file should reflect the pre-commit configuration
22
# in .pre-commit-config.yaml
33
black==22.10.0
4-
flake8==5.0.4
4+
flake8==6.0.0
55
flake8-bugbear==22.10.27
66
flake8-typing-imports==1.14.0
77
isort==5.10.1

setup.cfg

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,14 @@ license_files =
99
CONTRIBUTORS.txt
1010

1111
[flake8]
12+
# Incompatible with black see https://github.com/ambv/black/issues/315
13+
# E203: Whitespace before ':'
14+
# W503: Line break occurred before a binary operator
15+
# E501: Line too long
1216
ignore =
13-
E203, W503, # Incompatible with black see https://github.com/ambv/black/issues/315
14-
E501, # Lot of lines too long right now
17+
E203,
18+
W503,
19+
E501
1520
max-line-length=88
1621
max-complexity=39
1722
# Required for flake8-typing-imports (v1.12.0)

0 commit comments

Comments
 (0)