Skip to content

Commit

Permalink
moved pytest and isort config into project toml
Browse files Browse the repository at this point in the history
  • Loading branch information
maximelucas committed Oct 29, 2024
1 parent e137361 commit 98a46e9
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
3 changes: 0 additions & 3 deletions .isort.cfg

This file was deleted.

14 changes: 14 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,17 @@ where = ["."]

[tool.setuptools.dynamic.version]
attr = "xgi.__version__"

[tool.pytest.ini_options]
# always run doctests
addopts = "--doctest-modules --ignore=docs"

# custom markers
markers = [
"webtest: mark test as an online test.",
"slow: mark test as slow."
]

[tool.isort]
skip = ["__init__.py", "benchmarks/env"]
profile = "black"
7 changes: 0 additions & 7 deletions pytest.ini

This file was deleted.

0 comments on commit 98a46e9

Please sign in to comment.