Skip to content

Commit

Permalink
Add dependency groups to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasdiez committed Nov 26, 2024
1 parent b9e396a commit d6e03cf
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ platforms = [
'osx-64', 'linux-64', 'linux-aarch64', 'osx-arm64'
]

[external]
# External dependencies in the format proposed by https://peps.python.org/pep-0725
[external]
build-requires = [
"virtual:compiler/c",
"virtual:compiler/cpp",
Expand Down Expand Up @@ -152,4 +152,23 @@ dependencies = [
"pkg:generic/tachyon",
"pkg:generic/sagemath-polytopes-db",
"pkg:generic/sagemath-elliptic-curves",
"pkg:generic/sagemath-graphs",
]

[dependency-groups]
test = [
"pytest",
"pytest-xdist",
"coverage",
]
docs = [
"sphinx",
"sphinx-inline-tabs",
"furo",
]
lint = [
"relint",
"ruff",
"pycodestyle",
"flake8-rst-docstrings",
]

0 comments on commit d6e03cf

Please sign in to comment.