Skip to content

Commit

Permalink
Declared all pytest packages as optional dependencies; in pyproject.t…
Browse files Browse the repository at this point in the history
…oml, changed if 0 -: if False
  • Loading branch information
kvrigor committed Oct 28, 2024
1 parent 5567cf7 commit a443720
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ dependencies = [
'scipy >= 1.12',
'sympy >= 1.5',
'matplotlib',
'pytest >= 4.5',
'pytest-xdist >= 1.16',
'pyyaml >= 5.1',
'packaging',
'pyevtk',
Expand Down Expand Up @@ -56,6 +54,8 @@ dependencies = [
[project.optional-dependencies]
test = [
"pytest-cov >= 5.0.0",
'pytest >= 4.5',
'pytest-xdist >= 1.16',
]

[project.urls]
Expand Down Expand Up @@ -99,7 +99,7 @@ exclude_also = [
"raise NotImplementedError",

# Don't complain if non-runnable code isn't run:
"if 0:",
"if False:",
"if __name__ == .__main__.:",

# Don't complain about abstract methods, they aren't run:
Expand Down

0 comments on commit a443720

Please sign in to comment.