Skip to content

Commit d378b5b

Browse files
authored
Upgrade pytest version to 8.0.0
1 parent 5adde78 commit d378b5b

1 file changed

Lines changed: 5 additions & 10 deletions

File tree

pyproject.toml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ dependencies = [
1818
"distrax>=0.1.5",
1919
"flax>=0.8.2",
2020
"brax>=0.10.3",
21-
"pytest>=7.4.4",
21+
"pytest>=8.0.0",
2222
"coverage>=7.4.4",
2323
"xminigrid>=0.8.0",
2424
"gymnasium>=1.2.0",
@@ -54,8 +54,8 @@ dev = [
5454
"mypy>=1.9.0"
5555
]
5656
test = [
57-
"pytest>=7.4.4",
58-
"pytest-coverage",
57+
"pytest>=8.0.0",
58+
"pytest-cov>=4.1.0",
5959
"pytest-cases>=3.8.5",
6060
"ARLBench[examples]"
6161
]
@@ -70,19 +70,17 @@ doc = [
7070
]
7171
envpool = ["envpool>=0.8.4"]
7272

73-
74-
# https://docs.pytest.org/en/7.2.x/reference/reference.html#ini-options-ref
7573
[tool.pytest.ini_options]
7674
testpaths = ["tests"]
77-
minversion = "7.0"
75+
minversion = "8.0"
7876
empty_parameter_set_mark = "xfail"
7977
log_cli = false
8078
log_level = "DEBUG"
8179
xfail_strict = true
80+
# Note: Ensure you actually want to call --cov here if you use it in CI
8281
addopts = "--durations=10 -vv"
8382
markers = ["example: An example"]
8483

85-
8684
[tool.coverage.run]
8785
branch = true
8886
include = ["arlbench"]
@@ -97,15 +95,12 @@ exclude_lines = [
9795
"if TYPE_CHECKING",
9896
]
9997

100-
# https://github.com/charliermarsh/ruff
10198
[tool.ruff]
10299
target-version = "py310"
103100
line-length = 88
104101
show-source = true
105102
src = ["src", "tests", "examples"]
106103
lint.extend-safe-fixes = ["ALL"]
107-
108-
# Allow unused variables when underscore-prefixed.
109104
lint.dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
110105

111106
lint.select = [

0 commit comments

Comments
 (0)