Ensure we run linting on test files
This commit is contained in:
parent
f3f946b784
commit
008ac9b7a6
2 changed files with 3 additions and 3 deletions
4
.github/workflows/lint.yml
vendored
4
.github/workflows/lint.yml
vendored
|
@ -28,7 +28,7 @@ jobs:
|
|||
|
||||
- name: Check import statement sorting
|
||||
run: |
|
||||
isort -c --df my_project_name/ my-project-name
|
||||
isort -c --df my_project_name/ my-project-name tests
|
||||
|
||||
- name: Python syntax errors, undefined names, etc.
|
||||
run: |
|
||||
|
@ -36,4 +36,4 @@ jobs:
|
|||
|
||||
- name: PEP8 formatting
|
||||
run: |
|
||||
black --check --diff my_project_name/ my-project-name
|
||||
black --check --diff my_project_name/ my-project-name tests
|
||||
|
|
|
@ -11,7 +11,7 @@ if [ $# -ge 1 ]
|
|||
then
|
||||
files=$*
|
||||
else
|
||||
files="my_project_name my-project-name"
|
||||
files="my_project_name my-project-name tests"
|
||||
fi
|
||||
|
||||
echo "Linting these locations: $files"
|
||||
|
|
Loading…
Reference in a new issue