Skip to content

Commit 23ae9ab

Browse files
committed
Specify lint targets
1 parent 062c027 commit 23ae9ab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/python-package.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ jobs:
2929
- name: Lint with flake8
3030
run: |
3131
# stop the build if there are Python syntax errors or undefined names
32-
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
32+
flake8 atcoder tests --count --select=E9,F63,F7,F82 --show-source --statistics
3333
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
34-
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
34+
flake8 atcoder tests --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
3535
- name: Type check with mypy
3636
run: |
37-
mypy . --exclude example/
37+
mypy atcoder tests
3838
- name: Test with pytest
3939
run: |
4040
pytest

0 commit comments

Comments
 (0)