Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii authored Nov 23, 2024
1 parent 1e33b1d commit 16540e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def tests(session: nox.Session, tox_version: str) -> None:
session.install("-e.[tox_to_nox]")
if tox_version != "latest":
session.install(f"tox{tox_version}")
extra_env = {} if tox_version != "latest" else {"PYTHONWARNDEFAULTENCODING": "1"}
extra_env = {"PYTHONWARNDEFAULTENCODING": "1"} if tox_version == "latest" else {}
session.run(
"pytest",
"--cov",
Expand Down
4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,7 @@ max_supported_python = "3.13"
minversion = "7.0"
addopts = [ "-ra", "--strict-markers", "--strict-config" ]
xfail_strict = true
filterwarnings = [
"error",
]
filterwarnings = [ "error" ]
log_cli_level = "info"
testpaths = [ "tests" ]
pythonpath = [ ".github/" ]
Expand Down

0 comments on commit 16540e2

Please sign in to comment.