Skip to content

Commit

Permalink
Use flake8-pyproject plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
pylipp committed Dec 4, 2022
1 parent 3da4cdf commit 736b646
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ repos:
require_serial: true
- id: flake8
name: flake8
entry: pflake8
entry: flake8
types: [python]
language: system
require_serial: true
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,12 @@ classifiers = [
develop = [
"black==22.10.0",
"coverage==6.5",
'flake8==6.0.0; python_version >= "3.8"',
'flake8==5.0.4; python_version < "3.8"',
"flake8-pyproject==1.2.2",
"gitlint-core==0.18.0",
"isort==5.10.1",
"pre-commit==2.20",
'pyproject-flake8==6.0.0; python_version >= "3.8"',
'pyproject-flake8==5.0.4.post1; python_version < "3.8"',
]
packaging = [
"build",
Expand Down

0 comments on commit 736b646

Please sign in to comment.