Skip to content

Commit

Permalink
remove pyproject-flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyburnett committed Dec 12, 2022
1 parent e3a970a commit a21e1f0
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 20 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:
with:
path: ${{ env.pythonLocation }}
key: style-${{ runner.os }}-${{ env.pythonLocation }}-${{ hashFiles('**/pyproject.toml', '**/setup.*') }}
- run: pip install pyproject-flake8
- run: pflake8 --count src
- run: pip install flake8
- run: flake8 --count src
audit:
name: Bandit security audit
runs-on: ubuntu-latest
Expand Down
15 changes: 0 additions & 15 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,21 +62,6 @@ zip-safe = true
[tool.setuptools.packages.find]
where = ['src']

[tool.flake8]
select = ['F', 'W', 'E101', 'E111', 'E112', 'E113', 'E401', 'E402', 'E501', 'E711', 'E722']
# We should set max line length to 88 eventually
max-line-length = 130
exclude = [
'.git',
'__pycache__',
'docs',
'build',
'dist',
'.tox',
'.eggs',
]
ignore = ['E203', 'W503', 'W504', 'W605']

[tool.pytest]
minversion = 4.6
doctest_plus = true
Expand Down
8 changes: 8 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# this file exists to support an editable PEP517 install and for `flake8` (https://github.com/PyCQA/flake8/issues/234)

[flake8]
select = F, W, E101, E111, E112, E113, E401, E402, E501, E711, E722
# We should set max line length to 88 eventually
max-line-length = 130
exclude = .git,__pycache__,docs,build,dist,.tox,.eggs
ignore = E203, W503, W504, W605
3 changes: 0 additions & 3 deletions setup.py

This file was deleted.

0 comments on commit a21e1f0

Please sign in to comment.