Skip to content

Commit e8f47ed

Browse files
committed
build: don't show encoding warnings from other tools
1 parent 98f5d1c commit e8f47ed

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tox.ini

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,14 @@ basepython = python3.11
7272
# return.
7373
deps =
7474
-r doc/requirements.pip
75+
7576
allowlist_externals =
7677
make
78+
79+
setenv =
80+
{[testenv]setenv}
81+
PYTHONWARNDEFAULTENCODING=
82+
7783
commands =
7884
# If cog fails, it means the docs need to be updated. Run `make prebuild`.
7985
python -m cogapp -cP --check --check-fail-msg='run `make prebuild`' --verbosity=1 doc/*.rst doc/*/*.rst
@@ -93,6 +99,7 @@ deps =
9399

94100
setenv =
95101
{[testenv]setenv}
102+
PYTHONWARNDEFAULTENCODING=
96103
LINTABLE=coverage tests doc ci igor.py setup.py __main__.py
97104

98105
commands =
@@ -117,6 +124,7 @@ deps =
117124

118125
setenv =
119126
{[testenv]setenv}
127+
PYTHONWARNDEFAULTENCODING=
120128
TYPEABLE=coverage tests
121129

122130
commands =

0 commit comments

Comments
 (0)