Files
awx/tox.ini
Hao Liu 9d67c302fd Exclude .tox from flake8 linter scope (#16566)
awxkit has its own tox.ini and when `tox -e linters` runs, awxkit/.tox/
can get populated with a py3 virtualenv. Since flake8 is configured to
scan the `awxkit` directory, it recurses into
awxkit/.tox/py3/lib/python3.12/site-packages/ and reports hundreds of
false positives (F405, E265, E266) from third-party packages like PyYAML.

Adding .tox to the flake8 exclude list prevents this — matching the
existing exclusion of `env` for virtualenvs.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-08-03 09:25:46 +02:00

1.0 KiB