Skip to content

Commit

Permalink
Correct the tox option for skipping sdist generation
Browse files Browse the repository at this point in the history
The tox option to skip source distribution building is skipsdist,
but this seems to be often misspelled skipdist instead, which gets
silently ignored and so does not take effect. Correct it
everywhere, in hopes that new projects will finally stop copying
this mistake around.

See https://tox.readthedocs.io/en/latest/config.html#conf-skipsdist
and tox-dev/tox#1388 for details.

Change-Id: Ic982e06ed216507a8a8e2d8a09ac26cabae743dd
  • Loading branch information
fungi authored and dmendiza committed Sep 22, 2023
1 parent dd4a795 commit baec445
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
minversion = 2.0
envlist = linters
skipdist = true
skipsdist = true

[testenv]
deps = -r{toxinidir}/test-requirements.txt
Expand Down

0 comments on commit baec445

Please sign in to comment.