-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
81 lines (69 loc) · 1.94 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "urban-footprinter"
version = "0.3.0"
description = "A convolution-based approach to detect urban extents."
readme = "README.md"
authors = [
{ name = "Martí Bosch", email = "[email protected]" },
]
license = { text = "GPL-3.0" }
classifiers = [
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
requires-python = ">=3.8"
dynamic = [
"dependencies"
]
[project.urls]
Repository = "https://github.com/martibosch/urban-footprinter"
[project.optional-dependencies]
test = ["black", "coverage[toml]", "pytest", "pytest-cov", "python-dotenv", "ruff"]
dev = ["build", "commitizen", "pre-commit", "pip", "toml", "tox", "twine"]
doc = ["myst-parser", "sphinx"]
[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
[tool.setuptools.packages.find]
include = ["meteostations", "meteostations.*"]
[tool.black]
line-length = 88
[tool.ruff]
line-length = 88
select = ["D", "E", "F", "I"]
[tool.ruff.isort]
known-first-party = ["urban_footprinter"]
[tool.ruff.per-file-ignores]
"**/__init__.py" = ["F401"]
"tests/test_urban_footprinter.py" = ["D"]
[tool.nbqa.addopts]
ruff = [
"--ignore=D,I"
]
[tool.coverage.run]
source = ["urban_footprinter"]
[tool.coverage.report]
exclude_lines = [
"if self.debug:",
"pragma: no cover",
"raise NotImplementedError",
"except ModuleNotFoundError",
"except ImportError",
]
ignore_errors = true
omit = ["tests/*", "docs/conf.py"]
[tool.commitizen]
name = "cz_conventional_commits"
tag_format = "v$version"
version_provider = "pep621"
version_files = [
"urban_footprinter/__init__.py",
"pyproject.toml:version"
]