-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
157 lines (135 loc) · 3.34 KB
/
Copy pathpyproject.toml
File metadata and controls
157 lines (135 loc) · 3.34 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
####### PROJECT #######
[project]
name = "here_qgis"
authors = [
{ name = "HERE Europe B.V.", email = "here_qgis_plugin_dev_team@here.com" }
]
maintainers = [
{ name = "Minh Nguyen" },
{ name = "Subroto Karmokar" },
{ name = "Mikolaj Garbula" },
]
description = "HERE QGIS Python Library"
keywords = [
"here_qgis",
]
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
requires-python = ">=3.9"
dynamic = ["version", "readme", "dependencies"]
[project.license]
text = "MIT license"
[project.urls]
Homepage = "https://github.com/heremaps/here-qgis-python"
####### BUILD #######
[build-system]
requires = [
"setuptools>=64",
"setuptools_scm[toml]>=5",
]
build-backend = "setuptools.build_meta"
# [tool.setuptools_scm]
# For smarter version schemes and other configuration options,
# check out https://github.com/pypa/setuptools_scm
# version_scheme = "no-guess-dev"
[tool.setuptools]
zip-safe = false
include-package-data = true
[tool.setuptools.dynamic]
version = {attr = "here_qgis.__version__"}
readme = {file = ["README.rst", "CHANGELOG.md"]}
dependencies = {file = ["requirements.txt"]}
#[tool.setuptools.dynamic.optional-dependencies]
#default = {file = ["requirements_legacy.txt"]}
#312 = {file = ["requirements_latest.txt"]}
####### TEST #######
####### LINTER #######
[tool.black]
line-length = 88
target-version = ['py39']
preview = true
[tool.isort]
profile = "black"
####### STATIC CHECKING #######
[tool.mypy]
python_version = 3.8
mypy_path = "typings"
packages = [
"here_qgis",
]
disallow_untyped_defs = true
disallow_any_unimported = true
no_implicit_optional = true
check_untyped_defs = true
warn_return_any = true
warn_unused_ignores = true
show_error_codes = true
[tool.pyright]
#include = [ "here_qgis" ]
# stubPath = "typings"
defineConstant = { DEBUG = true }
pythonPlatform = "All"
reportMissingImports = true
# reportMissingTypeStubs = true
# useLibraryCodeForTypes = false
# verboseOutput = true
####### DEPS #######
[project.optional-dependencies]
# Define internal deps in optional-dependencies, will not be detected by ort-scan
here-internal = [
"here-geotiles>=2.22.0",
]
mom-core-10 = [
"mom_core==10.0.0",
"mom_core_geojson==10.0.0",
]
mom-internal-8 = [
"mom_internal_geojson==8.11.0",
]
[dependency-groups]
hatch = [
"hatch>=1.15",
]
tox = [
"tox>=4.25.0",
]
test = [
"coverage>=7.6.1",
"dictdiffer>=0.9.0",
"flake8>=5.0.4",
"flake8-html>=0.4.3",
"parameterized>=0.9.0",
"pytest>=8.3.5",
"pytest-cookies>=0.7.0",
"pytest-cov>=5.0.0",
"pytest-html>=4.1.1",
"pytest-runner>=6.0.1",
"pytest-vcr>=1.0.2",
"coverage-enable-subprocess==1.0",
"pytest-xdist[psutil]~=3.5",
]
docs = [
"jupyter-sphinx>=0.3.2",
"myst-parser>=1.0.0",
"nbsphinx>=0.9.8",
"pygments==2.6.1",
"sphinx>=2",
"sphinx-copybutton>=0.5.2",
"sphinx-jsonschema>=1.15",
"sphinx-rtd-theme>=2.0.0",
"sphinxcontrib-blockdiag>=3.0.0",
"towncrier>=24.8.0",
]
build = [
"build[virtualenv]>=1.2.2.post1",
"bumpversion>=0.6.0",
"twine>=6.1.0",
]