-
Notifications
You must be signed in to change notification settings - Fork 8
/
pyproject.toml
115 lines (103 loc) · 3.37 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
[build-system]
requires = ["setuptools>=64"]
build-backend = "setuptools.build_meta"
[project]
name = "esp-idf-monitor"
authors = [{name = "Espressif Systems"}]
description = "Serial monitor for esp-idf"
keywords = ["espressif", "embedded", "monitor", "serial"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Natural Language :: English",
"Environment :: Console",
"Topic :: Software Development :: Embedded Systems",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: POSIX",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS :: MacOS X",
]
requires-python = ">=3.7"
dynamic = ['version']
dependencies = [
"pyserial>=3.3",
"esp-coredump~=1.2",
"esp-idf-panic-decoder~=1.2",
]
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.urls]
Homepage = "https://github.com/espressif/esp-idf-monitor"
[project.optional-dependencies]
dev = [
"pre-commit",
"commitizen",
"coverage[toml]",
]
ide = ["websocket-client"]
target_test = [
"SimpleWebSocketServer",
"pytest",
"pytest_embedded",
"pytest_embedded_idf",
"pytest_embedded_serial_esp",
"idf_build_apps",
"idf-component-manager",
]
host_test = [
"pytest",
"pytest-rerunfailures",
"esptool"
]
[tool.setuptools]
include-package-data = false
[tool.setuptools.packages]
find = {namespaces = false}
[tool.setuptools.dynamic]
version = {attr = "esp_idf_monitor.__version__"}
[tool.commitizen]
version = "1.5.0"
update_changelog_on_bump = true
tag_format = "v$version"
changelog_merge_prerelease = true
annotated_tag = true
changelog_start_rev = "v1.2.0"
bump_message = "change: Update version to $new_version"
version_files = [
"esp_idf_monitor/__init__.py:__version__"
]
change_type_order = [
"BREAKING CHANGE",
"New Features",
"Bug Fixes",
"Code Refactoring",
"Performance Improvements"
]
[tool.commitizen.change_type_map]
feat = "New Features"
fix = "Bug Fixes"
refactor = "Code Refactoring"
perf = "Performance Improvements"
[tool.mypy]
disallow_incomplete_defs = false # Disallows defining functions with incomplete type annotations
disallow_untyped_defs = false # Disallows defining functions without type annotations or with incomplete type annotations
ignore_missing_imports = true # Suppress error messages about imports that cannot be resolved
python_version = "3.9" # Specifies the Python version used to parse and check the target program
warn_no_return = true # Shows errors for missing return statements on some execution paths
warn_return_any = true # Shows a warning when returning a value with type Any from a function declared with a non- Any return type
[tool.coverage.run]
parallel = true
source = ["../esp_idf_monitor/", "../../esp_idf_monitor/", "esp_idf_monitor/"]
[tool.coverage.paths]
# following paths will be considered as equivalent to maintain multiplatform compatibility
source = ["./esp_idf_monitor/", "*/esp_idf_monitor/"]
[tool.codespell]
write-changes = true
skip = 'test/host_test/inputs/*'