mirror of
https://github.com/Benexl/FastAnime.git
synced 2025-12-25 04:15:19 -08:00
27 lines
431 B
INI
27 lines
431 B
INI
[tox]
|
|
requires =
|
|
tox>=4
|
|
env_list = lint, type, py{310,311}
|
|
|
|
; [testenv]
|
|
; description = run unit tests
|
|
; deps =
|
|
; pytest>=7
|
|
; pytest-sugar
|
|
; commands =
|
|
; pytest {posargs:tests}
|
|
;
|
|
[testenv:lint]
|
|
description = run linters
|
|
skip_install = true
|
|
deps =
|
|
black==22.12
|
|
commands = black {posargs:.}
|
|
;
|
|
; [testenv:type]
|
|
; description = run type checks
|
|
; deps =
|
|
; mypy>=0.991
|
|
; commands =
|
|
; mypy {posargs:src tests}
|