diff options
author | Akihiro Motoki <amotoki@gmail.com> | 2023-01-12 12:23:42 +0900 |
---|---|---|
committer | Akihiro Motoki <amotoki@gmail.com> | 2023-01-12 12:23:42 +0900 |
commit | 20966c49687d4333a84a73aea40309f190c4a8ce (patch) | |
tree | 9899b1fe5659d570dc5b6c7d8a8a0820bb7249c0 | |
parent | aec6340398a5d6e65cda926247c2e08dff29ee4d (diff) | |
download | horizon-20966c49687d4333a84a73aea40309f190c4a8ce.tar.gz |
Fix tox.ini parse error with tox 4.2.8
The validation of setenv in the recent tox like 4.2.8 seems more strict.
We need a space between a factor and envvar.
Note that we need to discuss the three variants of PYTHONWARNINGS
but this commit focuses on fixing the gate failure due to tox.ini.
Change-Id: I13be2d39850e77f15e5bbf67b0022b10b09e5c6f
-rw-r--r-- | tox.ini | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -14,7 +14,7 @@ setenv = PYTHONDONTWRITEBYTECODE = 1 # TODO(amotoki): There are three variants of PYTHONWARNINGS. They should be merged. PYTHONWARNINGS = once,ignore::PendingDeprecationWarning - py{3,39}:PYTHONWARNINGS = once,ignore::PendingDeprecationWarning,ignore::ImportWarning:backports + py{3,39}: PYTHONWARNINGS = once,ignore::PendingDeprecationWarning,ignore::ImportWarning:backports # DeprecationWarning is disabled in dj32 tox env as Django 3.2 # deprecated Django 2.2 features. This workaround is just to reduce # the number of warnings due to this change. |