mirror of
https://github.com/bndr/pipreqs.git
synced 2025-06-06 19:45:22 +00:00

A bit of CI maintenance: - Add Python 3.10 and 3.11 runs, and update the PyPy run to PyPy 3.9 - Removed Python 3.7 as it is deprecated - Update the used actions (checkout and setup-python) to the latest versions - Also run on pushes, when manually triggered (workflow_dispatch) The original PR was done by @EwoutH at #334
27 lines
466 B
INI
27 lines
466 B
INI
[tox]
|
|
envlist = py38, py39, py310, py311, pypy3, flake8
|
|
|
|
[gh-actions]
|
|
python =
|
|
3.8: py38
|
|
3.9: py39
|
|
3.10: py310
|
|
3.11: py311
|
|
pypy-3.9: pypy3
|
|
|
|
[testenv]
|
|
setenv =
|
|
PYTHONPATH = {toxinidir}:{toxinidir}/pipreqs
|
|
commands = python setup.py test
|
|
deps =
|
|
-r{toxinidir}/requirements.txt
|
|
|
|
[flake8]
|
|
exclude =
|
|
tests/_data/
|
|
tests/_data_clean/
|
|
tests/_data_duplicated_deps/
|
|
tests/_data_ignore/
|
|
tests/_invalid_data/
|
|
max-line-length = 120
|