-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
132 lines (110 loc) · 2.66 KB
/
pyproject.toml
File metadata and controls
132 lines (110 loc) · 2.66 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "qgis-plugin-manager"
description = "Tool for downloading/managing QGIS plugins from CLI."
requires-python = ">= 3.9"
license = "GPL-3.0-or-later"
license-files = ["LICENSE"]
readme = "README.md"
keywords = ["QGIS"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: System Administrators",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"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 :: Implementation :: CPython",
"Topic :: Scientific/Engineering :: GIS",
]
dependencies = [
"semver==3.0.4",
]
dynamic = ["version"]
[project.scripts]
qgis-plugin-manager = "qgis_plugin_manager.__main__:main"
[[project.authors]]
name = "Étienne Trimaille"
[[project.maintainers]]
name = "David Marteau"
email = "dmarteau@3liz.com"
[dependency-groups]
dev = [
{include-group = "tests"},
{include-group = "lint"},
]
tests = [
"pytest",
]
lint = [
"ruff",
"mypy",
]
packaging = [
"setuptools",
"build",
]
[tool.setuptools.packages.find]
exclude = [ "tests/*" ]
include = [
"qgis_plugin_manager",
"qgis_plugin_manager.*",
]
[tool.setuptools.dynamic]
version = { file = ["VERSION"] }
[projects.urls]
homepage = "https://github.com/3liz/qgis-plugin-manager"
repository = "https://github.com/3liz/qgis-plugin-manager"
documentation = "https://github.com/3liz/qgis-plugin-manager/blob/master/README.md"
"Bug Reports" = "https://github.com/3liz/qgis-plugin-manager/issues/"
# Ruff configuration
# See https://doc.astral.sh/ruff/configuration
[tool.ruff]
line-length = 110
target-version = "py39"
exclude = [
".venv",
".local",
"tests/.*",
]
[tool.ruff.format]
indent-style = "space"
[tool.ruff.lint]
extend-select = ["E", "F", "I", "ANN", "W", "T", "COM", "RUF"]
# COM812 conflict with formatter
ignore = [
"ANN002",
"ANN003",
"ANN204",
"T201",
"COM812",
]
[tool.ruff.lint.per-file-ignores]
"test/*" = [
"ANN201",
]
[tool.ruff.lint.isort]
lines-between-types = 1
known-third-party = [
"qgis",
]
order-by-type = true
[tool.ruff.lint.flake8-annotations]
ignore-fully-untyped = true
suppress-none-returning = true
suppress-dummy-args = true
#
# Mypy
#
[tool.mypy]
python_version = "3.9"
[[tool.mypy.overrides]]
module = "qgis.*"
ignore_missing_imports = true