Skip to content

Commit

Permalink
Update build linting
Browse files Browse the repository at this point in the history
  • Loading branch information
reidjohnson committed Sep 1, 2024
1 parent 7065c8c commit 56c655d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,21 @@ jobs:
- name: Check Python formatting with black
run: |
black --line-length 99 --diff --color .
black --line-length=99 --check .
black --diff --color .
black --check .
- name: Check Cython formatting with cython-lint
run: |
cython-lint --max-line-length=99 --ignore=E741 .
cython-lint .
- name: Check import order with isort
run: |
isort --profile=black --line-length=99 --check .
isort --profile=black --check .
- name: Lint with flake8
run: |
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics || exit 1
flake8 . --count --exit-zero --max-line-length=99 --statistics
flake8 . --count --exit-zero --statistics
- name: Test with pytest
run: |
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ addopts =

[flake8]
max-line-length = 99
ignore = E203, E266, E402, E501, W503, E731
ignore = E203, E402, E731, W503
select = B,C,E,F,W,T4,B9
exclude =
.git,
Expand Down

0 comments on commit 56c655d

Please sign in to comment.