Skip to content

Commit

Permalink
update CI scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
digicosmos86 committed May 8, 2024
1 parent 908e640 commit e99817e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build_and_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ ignore = [
"TID252",
]

exclude = [".github", "docs", "notebook", "tests"]
exclude = [".github", "docs", "notebook", "tests/*"]

[tool.ruff.lint.pydocstyle]
convention = "numpy"
Expand Down

0 comments on commit e99817e

Please sign in to comment.