From 008ac9b7a6bd668134dd10ed386243840b154896 Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Sun, 10 Jan 2021 21:55:40 -0500 Subject: [PATCH] Ensure we run linting on test files --- .github/workflows/lint.yml | 4 ++-- scripts-dev/lint.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 0543817..9350e67 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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 diff --git a/scripts-dev/lint.sh b/scripts-dev/lint.sh index b5996aa..79ba3d6 100755 --- a/scripts-dev/lint.sh +++ b/scripts-dev/lint.sh @@ -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"