Skip to content

Commit

Permalink
Added test env for mypy in tox
Browse files Browse the repository at this point in the history
Updated testing dependencies to include flake8 and mypy: setup.cfg
  • Loading branch information
GhostOps77 committed Jun 23, 2024
1 parent 6cd3645 commit 8256868
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ testing =
pytest>=7.2.1
pytest-cov>=4.0.0
tox>=4.4.3
flake8>=6.0.0
mypy>=1.9.0

[flake8]
ignore = E203, E266, W503, E402, E731, C901
Expand Down
7 changes: 6 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ isolated_build = true
[gh-actions]
python =
3.7: py37, click7, flake8
3.8: py38
3.8: py38, mypy
3.9: py39
3.10: py310
3.11: py311
Expand All @@ -33,6 +33,11 @@ basepython = python3.7
deps = flake8
commands = flake8 click_repl tests

[testenv:mypy]
basepython = python3.8
deps = mypy
commands = mypy click_repl

[testenv:click7]
basepython = python3.10
deps =
Expand Down

0 comments on commit 8256868

Please sign in to comment.