From 2b6b9ba5f7d345f706802b4e6f31125bd0d46307 Mon Sep 17 00:00:00 2001 From: Tilly Woodfield <22456167+tillywoodfield@users.noreply.github.com> Date: Tue, 4 Feb 2025 10:41:36 +0200 Subject: [PATCH] ci: run linters on test directory --- .github/workflows/ci.yml | 8 ++++---- README.md | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b4a8868..6beb13e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,12 +12,12 @@ jobs: - name: Install dev requirements run: pip install -r requirements_dev.txt - name: Check black - run: black --check oc4ids_datastore_pipeline/ + run: black --check oc4ids_datastore_pipeline/ tests/ - name: Check isort - run: isort --check-only oc4ids_datastore_pipeline/ + run: isort --check-only oc4ids_datastore_pipeline/ tests/ - name: Check flake8 - run: flake8 oc4ids_datastore_pipeline/ + run: flake8 oc4ids_datastore_pipeline/ tests/ - name: Check mypy - run: mypy oc4ids_datastore_pipeline/ + run: mypy oc4ids_datastore_pipeline/ tests/ - name: Run tests run: pytest diff --git a/README.md b/README.md index a4f1bf6..3fac6a2 100644 --- a/README.md +++ b/README.md @@ -26,10 +26,10 @@ oc4ids-datastore-pipeline ### Run linting and type checking ``` -black oc4ids_datastore_pipeline/ -isort oc4ids_datastore_pipeline/ -flake8 oc4ids_datastore_pipeline/ -mypy oc4ids_datastore_pipeline/ +black oc4ids_datastore_pipeline/ tests/ +isort oc4ids_datastore_pipeline/ tests/ +flake8 oc4ids_datastore_pipeline/ tests/ +mypy oc4ids_datastore_pipeline/ tests/ ``` ### Run tests