-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (62 loc) · 1.51 KB
/
pyproject.toml
File metadata and controls
74 lines (62 loc) · 1.51 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
[project]
name = "gregor"
authors = [
{name = "Jann Launer", email = "j.a.c.launer@tudelft.nl"},
]
description = "A library for spatial aggregation and disaggregation"
readme = "README.md"
version = "0.0.3.dev"
dynamic = ["dependencies", "optional-dependencies"]
# complete classifier list:
# http://pypi.org/classifiers/
classifiers = [
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
]
keywords = [
'gis',
]
requires-python = ">=3.8, <4"
[project.urls]
changelog = "https://github.com/jnnr/gregor/blob/main/CHANGELOG.md"
homepage = "https://gregor.readthedocs.io/en/latest/"
repository = "https://github.com/jnnr/gregor.git"
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools>=46.1.0", "setuptools_scm[toml]>=6.2"]
[project.scripts]
gregor = "gregor.cli:cli"
[tool.setuptools.dynamic]
dependencies = { file = ["requirements/base.txt"] }
[tool.setuptools.dynamic.optional-dependencies]
dev = { file = ["requirements/dev.txt"] }
[tool.ruff]
builtins = ["ellipsis"]
target-version = "py38"
[tool.ruff.lint]
exclude = [
".eggs",
"doc",
"_typed_ops.pyi",
]
ignore = [
"E402",
"E501",
"E731",
"E741",
]
select = [
"F", # Pyflakes
"E", # Pycodestyle
"W", # isort
"I",
"UP", # Pyupgrade
]
[tool.ruff.lint.per-file-ignores]
# F401: imported but unsued
"__init__.py" = ["F401"]
[tool.ruff.lint.isort]
known-first-party = ["sampleproject"]
lines-after-imports = 2