Ensure we run linting on test files

This commit is contained in:
Andrew Morgan 2021-01-10 21:55:40 -05:00
parent f3f946b784
commit 008ac9b7a6
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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"