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 5ff006d commit 8e79c27
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
8 changes: 1 addition & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,5 @@ config-settings = {build-dir = "_build"}
before-all = "bash packaging/install_dependencies.sh"
environment = { PATH = "/nmodlwheel/flex/bin:/nmodlwheel/bison/bin:$PATH" }

[tool.pytest]
[tool.pytest.ini_options]
testpaths = "test/unit/pybind"

[tool.doctest]
builder = "doctest"

[tool.flake8]
max-line-length = 100
5 changes: 5 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[doctest]
builder = doctest

[flake8]
max-line-length = 100

0 comments on commit 8e79c27

Please sign in to comment.