-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
63 lines (51 loc) · 1.54 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "coppercomm"
version = "0.1.0"
description = "Coppercomm"
readme = "README.md"
authors = [{ name = "Volvo Cars" }]
license = { file = "LICENSE" }
requires-python = ">=3.8"
dependencies = ["paramiko", "pyserial", "pexpect"]
[project.urls]
Homepage = "https://github.com/volvo-cars/coppercomm"
Issues = "https://github.com/volvo-cars/coppercomm/issues"
[tool.hatch.envs.default]
dependencies = ["types-paramiko", "mypy >= 0.991"]
path = "objs/.env"
[tool.hatch.build]
directory = "objs/dist"
[tool.hatch.build.targets.wheel]
packages = ["src/coppercomm"]
[tool.hatch.envs.default.scripts]
test = "pytest -o cache_dir=objs/.pytest_cache {args:tests}"
system-test = "pytest -o cache_dir=objs/.pytest_cache ./system_tests"
test-cov = "coverage run -m pytest -o cache_dir=objs/.pytest_cache {args:tests}"
cov-report = ["- coverage combine", "coverage report"]
cov = ["test-cov", "cov-report"]
[tool.pytest.ini_options]
minversion = "7.2"
testpaths = ["tests"]
pythonpath = ["src"]
[tool.mypy]
python_version = "3.8"
incremental = false
show_column_numbers = true
check_untyped_defs = true
warn_unused_configs = true
ignore_missing_imports = false
no_implicit_optional = true
follow_imports = "normal"
namespace_packages = true
explicit_package_bases = true
mypy_path = "$MYPY_CONFIG_FILE_DIR/src"
files = "$MYPY_CONFIG_FILE_DIR/src"
[[tool.mypy.overrides]]
module = "pexpect.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "serial.*"
ignore_missing_imports = true