Skip to content

Commit

Permalink
Remove setup.cfg in favour of pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
flother committed Feb 8, 2025
1 parent c42cad8 commit 2d21cf8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Install dependencies
run: pip install -e .
- name: Run tests with Pytest
run: python setup.py test
run: python setup.py pytest
- name: Upload coverage report to codecov
if: ${{ success() }}
run: |
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ docstring-code-format = true

[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "I"]

[tool.pytest.ini_options]
addopts = ["--cov", "htmltab"]
5 changes: 0 additions & 5 deletions setup.cfg

This file was deleted.

0 comments on commit 2d21cf8

Please sign in to comment.