Skip to content

Commit

Permalink
Move some setup.cfg settings to pyproject.toml
Browse files Browse the repository at this point in the history
The two remaining options stay in setup.cfg for the following reasons:
- flake8 does not support pyproject.toml yet:
  PyCQA/flake8#234
- the doctest option is not completely transparent so I am leaving it
  there for now
  • Loading branch information
JCGoran committed Feb 19, 2024
1 parent f1f1f4a commit 51f7610
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,6 @@ version = ">=3.15.0"
NMODL_BUILD_WHEEL = "ON"

[tool.setuptools_scm]

[tool.pytest.ini_options]
testpaths = "test/unit/pybind"
3 changes: 0 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[tool:pytest]
testpaths = test/unit/pybind

[doctest]
builder = doctest

Expand Down

0 comments on commit 51f7610

Please sign in to comment.