Skip to content

Commit aaa5f47

Browse files
committed
flake8 support pyproject
1 parent 3e4ee75 commit aaa5f47

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Install dependencies
2323
run: |
2424
python -m pip install --upgrade pip
25-
python -m pip install flake8 pytest pytest-cov
25+
python -m pip install flake8 pytest pytest-cov flake8-pyproject
2626
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
2727
- name: Lint with flake8
2828
run: |

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ max-line-length = 120
5757
max-line-length = 120
5858

5959
[tool.flake8]
60+
# extend-ignore = ["E203"]
6061
max-line-length = 120
6162

6263
[tool.isort]

0 commit comments

Comments
 (0)