-
-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathpyproject.toml
More file actions
197 lines (181 loc) · 3.85 KB
/
pyproject.toml
File metadata and controls
197 lines (181 loc) · 3.85 KB
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools>=61.2"
]
[dependency-groups]
dev = [
"pytest-cov==7.1.0",
"pytest-github-actions-annotate-failures==0.4.0",
"pytest==9.0.3"
]
[project]
authors = [
{email = "michal@cihar.com", name = "Michal Čihař"}
]
classifiers = [
"Development Status :: 6 - Mature",
"Intended Audience :: Developers",
"Intended Audience :: Telecommunications Industry",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Programming Language :: C",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python",
"Topic :: Communications :: Telephony",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Hardware"
]
description = "Gammu bindings"
keywords = [
"calendar",
"contact",
"gammu",
"mobile",
"phone",
"SMS",
"todo"
]
license = "GPL-2.0-or-later"
name = "python-gammu"
requires-python = ">=3.10"
version = "3.2.6"
[project.readme]
content-type = "text/x-rst"
file = "README.rst"
[project.urls]
Documentation = "https://docs.gammu.org/python/"
Download = "https://github.com/gammu/python-gammu"
Funding = "https://wammu.eu/donate/"
Homepage = "https://github.com/gammu/python-gammu"
"Issue Tracker" = "https://github.com/gammu/python-gammu/issues"
"Source Code" = "https://github.com/gammu/python-gammu"
[tool.check-manifest]
ignore = [
".pre-commit-config.yaml",
"admin/*"
]
[tool.coverage.paths]
source = [
"."
]
[tool.coverage.report]
exclude_also = [
"@(abc\\.)?abstractmethod",
# Don't complain about missing debug-only code:
"def __repr__",
# Don't complain if non-runnable code isn't run:
"if 0:",
"if __name__ == .__main__.:",
"if self\\.debug",
# Type checking
"if TYPE_CHECKING:",
# Have to re-enable the standard pragma
"pragma: no cover",
# Don't complain if tests don't hit defensive assertion code:
"raise AssertionError",
"raise NotImplementedError"
]
[tool.coverage.run]
branch = true
[tool.isort]
force_grid_wrap = 0
include_trailing_comma = true
known_first_party = [
"gammu"
]
line_length = 88
multi_line_output = 3
use_parentheses = true
[tool.ruff.format]
docstring-code-format = true
[tool.ruff.lint]
extend-safe-fixes = [
"ANN",
"D",
"EM101",
"EM102",
"FA102",
"FLY",
"SIM",
"TCH",
"UP"
]
future-annotations = true
ignore = [
"ANN001",
"ANN002",
"ANN003",
"ANN201",
"ANN202",
"ARG001",
"ARG002",
"COM", # CONFIG: No trailing commas
"D100",
"D101",
"D102",
"D103",
"D104",
"D107",
"D203", # CONFIG: incompatible with D211
"D206", # CONFIG: formatter
"D212", # CONFIG: incompatible with D213
"D401",
"DOC201",
"DOC501",
"DTZ001",
"DTZ006",
"E501", # WONTFIX: we accept long strings (rest is formatted by black)
"FBT003",
"FIX002",
"N802",
"N818",
"PERF203", # WONFIX: affects only old Python versions
"PLR2004",
"PLR6301",
"RUF012",
"S607",
"SIM115",
"SLF001",
"TD002",
"TD003",
"TRY003",
"TRY300"
]
preview = true
select = ["ALL"]
[tool.ruff.lint.per-file-ignores]
"examples/*.py" = ["T201"]
"setup.py" = ["T201"]
"test/*.py" = ["S101", "T201"]
[tool.setuptools]
include-package-data = false
packages = [
"gammu"
]
platforms = [
"Linux",
"Mac OSX",
"Windows 95/98/ME",
"Windows XP/2000/NT"
]
[tool.tomlsort]
ignore_case = true
sort_inline_arrays = true
sort_inline_tables = true
sort_table_keys = true
spaces_before_inline_comment = 2
[tool.typos.default]
extend-identifiers = {_O_WRONLY = "_O_WRONLY"}
[tool.typos.files]
extend-exclude = [
"test/data/*.vcf",
"test/data/gammu-dummy/pbk/ME/103"
]