- Add mock-specific build artifacts (chroot/, mock-*, mockroot/) - Include package build files (*.deb, *.changes, *.buildinfo) - Add development tools (.coverage, .pytest_cache, .tox) - Include system files (.DS_Store, Thumbs.db, ._*) - Add temporary and backup files (*.tmp, *.bak, *.backup) - Include local configuration overrides (config.local.yaml, .env.local) - Add test artifacts and documentation builds - Comprehensive coverage for Python build system project This ensures build artifacts, chroot environments, and development tools are properly ignored in version control.
17 lines
441 B
INI
17 lines
441 B
INI
[tox]
|
|
# sync with /.github/workflows/fedora-tox.yml
|
|
envlist = py{36,39,310,311,312,313}
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
deps =
|
|
-rmock/requirements.txt
|
|
coverage
|
|
jsonschema
|
|
pytest
|
|
pytest-cov
|
|
setenv =
|
|
PYTHONPATH = ./mock/py
|
|
commands =
|
|
python -m pytest -v {posargs} --cov-report term-missing --cov-branch --cov mock/py mock/tests
|
|
python -m coverage report --fail-under=100 -m mock/py/mockbuild/plugins/rpmautospec.py
|