Skip to content

Commit 98f5d1c

Browse files
committed
build: no need for environment ranges when we want the setting all the time
1 parent 6a27fed commit 98f5d1c

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

tox.ini

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,8 @@ setenv =
3131
pypy3{,10,11}: COVERAGE_TEST_CORES=pytrace
3232
# If we ever need a stronger way to suppress warnings:
3333
#PYTHONWARNINGS=ignore:removed in Python 3.14; use ast.Constant:DeprecationWarning
34-
# We want to know about missing encoding arguments, but we need to silence
35-
# some warnings that aren't ours. We can't silence them in 3.9 because
36-
# EncodingWarning doesn't exist yet, and it's hard to suppress them in some
37-
# environments and not others. So by default, don't warn, and we'll enable
38-
# the warning in a handful of environments to catch the problems.
39-
PYTHONWARNDEFAULTENCODING=
40-
py3{10-15}: PYTHONWARNDEFAULTENCODING=1
41-
py3{10-15}: PYTHONWARNINGS=ignore::EncodingWarning:pip._internal.utils.subprocess
34+
PYTHONWARNDEFAULTENCODING=1
35+
PYTHONWARNINGS=ignore::EncodingWarning:pip._internal.utils.subprocess
4236
# Disable CPython's color output
4337
PYTHON_COLORS=0
4438

0 commit comments

Comments
 (0)