diff --git a/.github/workflows/build_and_publish.yml b/.github/workflows/build_and_publish.yml index 5dd19985..5a5f6ed1 100644 --- a/.github/workflows/build_and_publish.yml +++ b/.github/workflows/build_and_publish.yml @@ -41,13 +41,13 @@ jobs: pip install -e . - name: Run mypy - run: mypy src + run: mypy src/hssm - - name: Check styling - run: black . --check + - name: Check formatting + run: ruff format --check . - name: Linting - run: ruff check . + run: ruff check src/hssm - name: Run tests run: pytest -n auto -s diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index a143656e..3708c2c5 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -39,13 +39,13 @@ jobs: pip install -e . - name: Run mypy - run: mypy src + run: mypy src/hssm - - name: Check styling - run: black . --check + - name: Check formatting + run: ruff format --check . - name: Linting - run: ruff check . + run: ruff check src/hssm - name: Run tests run: pytest -n auto -s diff --git a/pyproject.toml b/pyproject.toml index 4ef08e0a..c0dd632d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -150,7 +150,7 @@ ignore = [ "TID252", ] -exclude = [".github", "docs", "notebook", "tests"] +exclude = [".github", "docs", "notebook", "tests/*"] [tool.ruff.lint.pydocstyle] convention = "numpy"