Skip to content

Commit

Permalink
remove flake8-pyproject
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyburnett committed Jun 17, 2022
1 parent d9f69b5 commit b5955d1
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
with:
path: ${{ env.pythonLocation }}
key: style-${{ runner.os }}-${{ env.pythonLocation }}-${{ hashFiles('**/pyproject.toml', '**/setup.*') }}
- run: pip install flake8-pyproject
- run: flake8p --count src
- run: pip install flake8
- run: flake8 --count src
audit:
name: Bandit security audit
runs-on: ubuntu-latest
Expand Down
3 changes: 0 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ docs = [
'stsci-rtd-theme',
'toml',
]
lint = [
'flake8-pyproject',
]
test = [
'pytest >=4.6.0',
'pytest-doctestplus',
Expand Down
10 changes: 10 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# 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 =
docs,
src/stpipe/extern,
ignore = E203, W503, W504, W605
3 changes: 0 additions & 3 deletions setup.py

This file was deleted.

0 comments on commit b5955d1

Please sign in to comment.