Skip to content

Commit

Permalink
Use '--strict-marker', not '--strict' to pytest
Browse files Browse the repository at this point in the history
The '--strict' parameter is deprecated and is going to be removed in
pytest 8.x. It's advised to move to '--strict-marker' instead.
  • Loading branch information
ikalnytskyi committed Nov 18, 2023
1 parent 07039b0 commit eaedeaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ source = "vcs"

[tool.hatch.envs.test]
dependencies = ["pytest", "flask"]
scripts.run = "python -m pytest --strict {args:-vv}"
scripts.run = "python -m pytest --strict-markers {args:-vv}"

[tool.hatch.envs.lint]
detached = true
Expand Down

0 comments on commit eaedeaf

Please sign in to comment.