Skip to content

Commit

Permalink
Update pytest configuration to include "plotpy"
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreRaybaut committed Jun 21, 2024
1 parent 069b3e2 commit ebd87ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ jobs:
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
pytest plotpy
pytest
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ include = ["plotpy*"]
[tool.setuptools.dynamic]
version = { attr = "plotpy.__version__" }

[tool.pytest.ini_options]
addopts = "plotpy"

[tool.ruff]
exclude = [".git", ".vscode", "build", "dist"]
line-length = 88 # Same as Black.
Expand Down

0 comments on commit ebd87ce

Please sign in to comment.