-
Notifications
You must be signed in to change notification settings - Fork 27
/
pyproject.toml
217 lines (200 loc) · 4.15 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
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
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools>=61.2",
]
[project]
authors = [
{ email = "christian.ledermann@gmail.com", name = "Christian Ledermann" },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: Hypothesis",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"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",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Scientific/Engineering :: GIS",
"Typing :: Typed",
]
dependencies = [
"typing_extensions",
]
description = "A basic implementation of the __geo_interface__"
dynamic = [
"version",
]
keywords = [
"GIS",
"Hypothesis",
"Spatial",
"WKT",
]
name = "pygeoif"
requires-python = ">=3.8"
[project.license]
text = "LGPL"
[project.optional-dependencies]
complexity = [
"lizard",
"radon",
]
dev = [
"pre-commit",
"pygeoif[complexity]",
"pygeoif[linting]",
"pygeoif[tests]",
"pygeoif[typing]",
]
hypothesis = [
"hypothesis",
]
linting = [
"black",
"flake8",
"flake8-cognitive-complexity",
"flake8-comments",
"flake8-complex-f-strings",
"flake8-continuation",
"flake8-docstrings",
"flake8-dunder-all",
"flake8-encodings",
"flake8-expression-complexity",
"flake8-function-order",
"flake8-length",
"flake8-pep3101",
"flake8-rst-docstrings",
"flake8-string-format",
"flake8-super",
"flake8-typing-imports",
"flake8-use-fstring",
"ruff",
"yamllint",
]
tests = [
"hypothesis",
"more_itertools",
"pytest",
"pytest-cov",
]
typing = [
"hypothesis",
"mypy",
]
[project.readme]
content-type = "text/x-rst"
file = "README.rst"
[project.urls]
Changelog = "https://github.com/cleder/pygeoif/blob/develop/docs/HISTORY.rst"
Documentation = "https://pygeoif.readthedocs.io/"
Homepage = "https://github.com/cleder/pygeoif/"
[tool.coverage.paths]
source = [
"pygeoif",
"tests",
]
[tool.coverage.run]
branch = true
[tool.flake8]
max_line_length = 88
[tool.isort]
force_single_line = true
line_length = 88
[tool.mypy]
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_untyped_calls = true
disallow_untyped_decorators = true
disallow_untyped_defs = true
enable_error_code = [
"ignore-without-code",
]
ignore_errors = false
ignore_missing_imports = false
implicit_reexport = false
no_implicit_optional = true
overrides = [
{ disallow_untyped_defs = false, ignore_errors = true, module = "tests.*" },
]
show_error_codes = true
strict_equality = true
strict_optional = true
warn_no_return = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
warn_unused_configs = true
warn_unused_ignores = true
[tool.pyright]
exclude = [
"**/__pycache__",
"**/node_modules",
".pyre",
".pytype",
"pygeoif/tests",
]
include = [
"pygeoif",
]
reportMissingImports = true
reportMissingTypeStubs = true
[tool.ruff]
fix = true
target-version = "py38"
[tool.ruff.lint]
ignore = [
"D203",
"D212",
"FA100",
]
select = [
"ALL",
]
[tool.ruff.lint.isort]
force-single-line = true
[tool.ruff.lint.per-file-ignores]
"pygeoif/factories.py" = [
"SLF001",
]
"pygeoif/geometry.py" = [
"D417",
"FBT001",
"FBT002",
]
"tests/*.py" = [
"ANN001",
"ANN201",
"D101",
"D102",
"D103",
"FBT001",
"FBT003",
"PGH001",
"PGH003",
"PLR2004",
"RUF012",
"S101",
"S307",
"S311",
"SLF001",
]
[tool.setuptools.dynamic.version]
attr = "pygeoif.about.__version__"
[tool.setuptools.packages.find]
exclude = [
"docs*",
]
include = [
"pygeoif*",
"pygeoif/py.typed",
]