Skip to content

Commit 8e61383

Browse files
authored
Merge pull request #59 from not522/lint_targets
Specify lint targets
2 parents b098e98 + 16dc001 commit 8e61383

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/python-package.yml

Lines changed: 3 additions & 3 deletions
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 .
37+
mypy atcoder tests
3838
- name: Test with pytest
3939
run: |
4040
pytest

0 commit comments

Comments
 (0)