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
|
- name: Check import statement sorting
|
||||||
run: |
|
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.
|
- name: Python syntax errors, undefined names, etc.
|
||||||
run: |
|
run: |
|
||||||
|
@ -36,4 +36,4 @@ jobs:
|
||||||
|
|
||||||
- name: PEP8 formatting
|
- name: PEP8 formatting
|
||||||
run: |
|
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
|
then
|
||||||
files=$*
|
files=$*
|
||||||
else
|
else
|
||||||
files="my_project_name my-project-name"
|
files="my_project_name my-project-name tests"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Linting these locations: $files"
|
echo "Linting these locations: $files"
|
||||||
|
|
Loading…
Reference in a new issue