File tree Expand file tree Collapse file tree 2 files changed +24
-18
lines changed Expand file tree Collapse file tree 2 files changed +24
-18
lines changed Original file line number Diff line number Diff line change @@ -19,29 +19,41 @@ install_requires =
1919 simplejson>=3.16.0
2020 sqlalchemy>=1.3.0
2121setup_requires =
22- pytest-runner>=5.1
2322 setuptools_scm>=3.3.3
24- tests_require =
25- lovely-pytest-docker>=0.1.0
26- pytest>=5.1.0
27- pytest-asyncio>=0.10.0
28- pytest-cov>=2.7.1
2923
3024[options.package_data]
3125aiochsa = type.lark
3226
33- [aliases]
34- test = pytest
35-
3627[tool:pytest]
3728testpaths = tests
38- addopts = --strict-markers -r aP --tb =native --cov
29+ addopts = --strict-markers -r aP --tb =native
3930filterwarnings = error
4031
4132[coverage:run]
4233branch = True
43- source =
44- aiochsa
34+ source = .
35+ omit =
36+ setup.py
37+ tests/*
38+ .tox/*
4539
4640[coverage:report]
4741show_missing = True
42+
43+
44+ [tox:tox]
45+ envlist = py{37,38,39},mypy
46+
47+ [testenv]
48+ deps =
49+ lovely-pytest-docker>=0.1.0
50+ pytest>=5.1.0
51+ pytest-asyncio>=0.10.0
52+ pytest-cov>=2.7.1
53+ six # Required by lovely-pytest-docker, but not included in its deps
54+ commands = pytest {posargs:--cov --cov-report =}
55+
56+ [testenv:mypy]
57+ basepython = python3.8
58+ deps = mypy
59+ commands = mypy -p aiochsa -p tests
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments