Debian Codegraph @

pyproject.toml

raw symbols SCIP
1 [build-system]
2 build-backend = "setuptools.build_meta"
3 requires = [
4 "setuptools>=61.2",
5 ]
6
7 [project]
8 authors = [
9 { email = "[email protected]", name = "Christian Ledermann" },
10 ]
11 classifiers = [
12 "Development Status :: 5 - Production/Stable",
13 "Intended Audience :: Developers",
14 "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
15 "Operating System :: OS Independent",
16 "Programming Language :: Python",
17 "Programming Language :: Python :: 3 :: Only",
18 "Programming Language :: Python :: 3.9",
19 "Programming Language :: Python :: 3.10",
20 "Programming Language :: Python :: 3.11",
21 "Programming Language :: Python :: 3.12",
22 "Programming Language :: Python :: 3.13",
23 "Programming Language :: Python :: 3.14",
24 "Programming Language :: Python :: 3.15",
25 "Programming Language :: Python :: Implementation :: CPython",
26 "Programming Language :: Python :: Implementation :: GraalPy",
27 "Programming Language :: Python :: Implementation :: PyPy",
28 "Topic :: Scientific/Engineering :: GIS",
29 "Topic :: Software Development :: Libraries",
30 "Topic :: Software Development :: Libraries :: Python Modules",
31 "Topic :: Text Processing :: Markup :: XML",
32 "Typing :: Typed",
33 ]
34 dependencies = [
35 "arrow",
36 "pygeoif>=1.5",
37 "typing-extensions>4",
38 ]
39 description = "Fast KML processing in python"
40 dynamic = [
41 "version",
42 ]
43 name = "fastkml"
44 requires-python = ">=3.9"
45
46 [project.license]
47 text = "LGPL"
48
49 [project.optional-dependencies]
50 complexity = [
51 "complexipy",
52 "lizard",
53 "radon",
54 ]
55 dev = [
56 "fastkml[complexity,docs,linting,lxml,tests,typing]",
57 "pre-commit",
58 "shapely",
59 ]
60 docs = [
61 "Sphinx",
62 "pyshp",
63 "sphinx-autodoc-typehints",
64 "sphinx-rtd-theme",
65 ]
66 linting = [
67 "flake8-cognitive-complexity",
68 "flake8-comments",
69 "flake8-encodings",
70 "flake8-expression-complexity",
71 "flake8-typing-imports",
72 "ruff",
73 "yamllint",
74 ]
75 lxml = [
76 "lxml",
77 ]
78 tests = [
79 "hypothesis[dateutil]",
80 "pytest",
81 "pytest-cov",
82 "pytz",
83 "tzdata",
84 ]
85 typing = [
86 "mypy",
87 "types-python-dateutil",
88 ]
89
90 [project.readme]
91 content-type = "text/x-rst"
92 file = "README.rst"
93 keywords = [
94 "GIS",
95 "Google",
96 "KML",
97 "Maps",
98 "OpenLayers",
99 ]
100
101 [project.urls]
102 Changelog = "https://github.com/cleder/fastkml/blob/develop/docs/HISTORY.rst"
103 Documentation = "https://fastkml.readthedocs.org/"
104 Homepage = "https://github.com/cleder/fastkml"
105
106 [tool.check-manifest]
107 ignore = [
108 ".*",
109 "examples/*",
110 "mutmut_config.py",
111 "tox.ini",
112 ]
113
114 [tool.coverage.paths]
115 source = [
116 "fastkml",
117 "tests",
118 ]
119
120 [tool.coverage.report]
121 exclude_also = [
122 "^\\s*\\.\\.\\.$",
123 "class \\w+\\(Protocol\\)\\:",
124 "except AssertionError:",
125 "except ImportError:",
126 "if TYPE_CHECKING:",
127 ]
128
129 [tool.coverage.run]
130 branch = true
131
132 [tool.flake8]
133 max_line_length = 89
134
135 [tool.isort]
136 force_single_line = true
137 line_length = 88
138
139 [tool.mypy]
140 disallow_any_generics = true
141 disallow_incomplete_defs = true
142 disallow_untyped_calls = true
143 disallow_untyped_decorators = true
144 disallow_untyped_defs = true
145 enable_error_code = [
146 "ignore-without-code",
147 ]
148 ignore_errors = false
149 ignore_missing_imports = true
150 implicit_reexport = false
151 no_implicit_optional = true
152 show_error_codes = true
153 strict_equality = true
154 strict_optional = true
155 warn_no_return = true
156 warn_redundant_casts = true
157 warn_return_any = true
158 warn_unreachable = true
159 warn_unused_configs = true
160 warn_unused_ignores = true
161
162 [[tool.mypy.overrides]]
163 disable_error_code = "attr-defined, union-attr"
164 module = "tests.oldunit_test"
165
166 [[tool.mypy.overrides]]
167 disable_error_code = "attr-defined, union-attr, no-untyped-def, no-untyped-call, arg-type"
168 module = "examples.*"
169
170 [[tool.mypy.overrides]]
171 disable_error_code = "union-attr"
172 module = "tests.*"
173
174 [tool.pyright]
175 exclude = [
176 "**/__pycache__",
177 "**/node_modules",
178 ".pyre",
179 ".pytype",
180 ]
181 include = [
182 "fastkml",
183 ]
184
185 [tool.rstcheck]
186 ignore_directives = [
187 "autoclass",
188 "automodule",
189 ]
190 report_level = "WARNING"
191
192 [tool.ruff]
193 fix = true
194
195 [tool.ruff.lint]
196 ignore = [
197 "ANN401",
198 "D203",
199 "D212",
200 "FA100",
201 "FBT001",
202 "PLR0913",
203 ]
204 select = [
205 "ALL",
206 ]
207
208 [tool.ruff.lint.extend-per-file-ignores]
209 "examples/*.py" = [
210 "ANN001",
211 "ANN201",
212 "D100",
213 "D104",
214 "D401",
215 "ICN001",
216 "INP001",
217 "S311",
218 "T201",
219 ]
220 "fastkml/helpers.py" = [
221 "ARG001",
222 "PLR0913",
223 ]
224 "tests/*.py" = [
225 "A002",
226 "D101",
227 "D102",
228 "D103",
229 "D104",
230 "PLR2004",
231 "S101",
232 "SLF001",
233 ]
234 "tests/repr_eq_test.py" = [
235 "E501",
236 ]
237
238 [tool.ruff.lint.flake8-builtins]
239 builtins-allowed-modules = [
240 "types",
241 ]
242 builtins-ignorelist = [
243 "id",
244 ]
245
246 [tool.ruff.lint.isort]
247 force-single-line = true
248
249 [tool.setuptools]
250 include-package-data = true
251
252 [tool.setuptools.dynamic.version]
253 attr = "fastkml.about.__version__"
254
255 [tool.setuptools.package-data]
256 fastkml = [
257 "schema/*.xsd",
258 ]
259
260 [tool.setuptools.packages.find]
261 exclude = [
262 "docs/*",
263 ]
264 include = [
265 "fastkml*",
266 "fastkml/py.typed",
267 ]
268 namespaces = false