Skip to content

Commit

Permalink
ci: Enable Python warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
moreati committed Jan 9, 2025
1 parent 547ce47 commit fadcf5f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ setenv =
NOCOVERAGE_ERASE = 1
NOCOVERAGE_REPORT = 1
PIP_CONSTRAINT={toxinidir}/tests/constraints.txt
# Print a warning on the first occurence at each module:linenno. Available Python 2.7, 3.2+.
PYTHONWARNINGS=default
# Ansible 6 - 8 (ansible-core 2.13 - 2.15) require Python 2.7 or >= 3.5 on targets
ansible6: MITOGEN_TEST_DISTRO_SPECS=centos7 centos8 debian9 debian10 debian11 ubuntu1604 ubuntu1804 ubuntu2004
ansible7: MITOGEN_TEST_DISTRO_SPECS=centos7 centos8 debian9 debian10 debian11 ubuntu1604 ubuntu1804 ubuntu2004
Expand Down

0 comments on commit fadcf5f

Please sign in to comment.