Loading .gitignore +6 −0 Original line number Diff line number Diff line Loading @@ -14,3 +14,9 @@ wheels/ # code editors .vscode/ .tox/ htmlcov/ .mypy_cache/ .pytest_cache/ .ruff_cache/ No newline at end of file tox.ini +32 −10 Original line number Diff line number Diff line [tox] envlist = py312 minversion = 4.23.2 env_list = lint, type, 3.1{2,1} skip_missing_interpreters = true [testenv] deps=-r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt description = run the tests with pytest package = wheel wheel_build_env = .pkg deps = pytest-cov pytest>=6 mongomock>=4.3.0 commands = pytest {tty:--color=yes} {posargs} --cov=edge_cloud_management_api --cov-report xml --cov-report term-missing [testenv:lint] description = run linters skip_install = true deps = ruff>=0.8.1 commands = ruff check {posargs} edge_cloud_management_api tests [testenv:type] description = run type checks skip_install = true deps = mypy commands = nosetests \ [] No newline at end of file mypy {posargs} edge_cloud_management_api tests No newline at end of file Loading
.gitignore +6 −0 Original line number Diff line number Diff line Loading @@ -14,3 +14,9 @@ wheels/ # code editors .vscode/ .tox/ htmlcov/ .mypy_cache/ .pytest_cache/ .ruff_cache/ No newline at end of file
tox.ini +32 −10 Original line number Diff line number Diff line [tox] envlist = py312 minversion = 4.23.2 env_list = lint, type, 3.1{2,1} skip_missing_interpreters = true [testenv] deps=-r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt description = run the tests with pytest package = wheel wheel_build_env = .pkg deps = pytest-cov pytest>=6 mongomock>=4.3.0 commands = pytest {tty:--color=yes} {posargs} --cov=edge_cloud_management_api --cov-report xml --cov-report term-missing [testenv:lint] description = run linters skip_install = true deps = ruff>=0.8.1 commands = ruff check {posargs} edge_cloud_management_api tests [testenv:type] description = run type checks skip_install = true deps = mypy commands = nosetests \ [] No newline at end of file mypy {posargs} edge_cloud_management_api tests No newline at end of file