-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
75 lines (58 loc) · 1.54 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "qgis-nbextension"
description = "QGIS notebook extension"
version = "1.1"
readme = "README.md"
requires-python = ">= 3.10"
classifiers=[
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3 :: Only",
"Operating System :: POSIX :: Linux",
"Topic :: Scientific/Engineering :: GIS",
"Framework :: IPython"
]
[[project.authors]]
name = "3Liz"
email = "infos@3liz.org"
[[project.maintainers]]
name = "David Marteau"
email = "dmarteau@3liz.org"
[project.urls]
Homepage = "https://github.com/3liz/qgis-nbextension"
Repository = "https://github.com/3liz/qgisnbextension"
[tool.setuptools.packages.find]
include = [
"qgisnbextension",
"qgisnbextension.*",
]
[tool.ruff]
line-length = 120
target-version = "py310"
[tool.ruff.format]
indent-style = "space"
[tool.ruff.lint]
extend-select = ["E", "F", "I", "ANN", "W", "COM", "RUF"]
ignore = ["ANN101", "ANN102", "ANN002", "ANN003", "RUF100", "RUF029"]
[tool.ruff.lint.isort]
lines-between-types = 1
[tool.ruff.lint.flake8-annotations]
ignore-fully-untyped = true
suppress-none-returning = true
suppress-dummy-args = true
#
# Mypy
#
[tool.mypy]
python_version = "3.10"
allow_redefinition = true
plugins = [ "pydantic.mypy" ]
[[tool.mypy.overrides]]
module = "qgis.*"
ignore_missing_imports = true