Skip to content

Commit c8a03ee

Browse files
committed
CI: Run flake8 in isolated environment, simplify invocation
1 parent 53ed031 commit c8a03ee

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
python -m pip install .
4040
- name: Lint
4141
run: |
42-
flake8 --ignore N802,N806,W504 --select W503 `find . -name \*.py | grep -v setup.py | grep -v version.py | grep -v __init__.py | grep -v /docs/`
42+
pipx run flake8 --ignore N802,N806,W504 --select W503 nitime/ tools/
4343
- name: Test
4444
run: |
4545
cd && mkdir for_test && cd for_test && pytest --pyargs nitime --cov-report term-missing --cov=AFQ

requirements-dev.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@ pytest
33
pytest-cov
44
nibabel
55
networkx
6-
flake8

0 commit comments

Comments
 (0)