Skip to content

Commit

Permalink
build: add Tox for managing test environments
Browse files Browse the repository at this point in the history
  • Loading branch information
T0217 committed Sep 19, 2024
1 parent 7f42310 commit ad293b9
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[tox]
envlist = py39, py310, py311, lint
isolated_build = True

[gh-actions]
python =
3.9: py39
3.10: py310
3.11: py311
3.11: lint

[testenv]
deps =
pytest
flake8
autopep8
commands =
autopep8 --in-place --recursive .
flake8 .
pytest tests

[flake8]
max-line-length = 120

0 comments on commit ad293b9

Please sign in to comment.