-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
64 lines (57 loc) · 1.42 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
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "ifk-lantmateriet"
version = "0.1.0"
description = "Parse data from Lantmäteriet."
license = { text = "MIT" }
readme = "README.md"
authors = [
{ name = "Mladen Gibanica", email = "[email protected]" },
]
requires-python = ">=3.10,<3.12"
dependencies = [
"geopandas ~= 0.14",
"pyogrio ~= 0.7",
"pyarrow ~= 16.0",
"unidecode ~= 1.3",
"tqdm ~= 4.66",
"typer ~= 0.12",
"ray ~= 2.20"
]
[project.optional-dependencies]
lint = [
"ruff ~= 0.1",
]
type = ["mypy ~= 1.7", "types-requests ~= 2.28", "pandas-stubs ~= 1.5"]
test = ["pytest ~= 7.1", "coverage ~= 6.5", "pytest-cov ~= 4.0"]
doc = [
"mkdocs ~= 1.4",
"mkdocs-material ~= 8.5",
"mkdocstrings[python] ~= 0.19",
]
dev = [
"ifk-lantmateriet[lint]",
"ifk-lantmateriet[type]",
"ifk-lantmateriet[test]",
"ifk-lantmateriet[doc]",
"pre-commit ~= 2.20",
"matplotlib ~= 3.8",
"ipykernel ~= 6.26",
]
[project.scripts]
ifk-lantmateriet = "lantmateriet.cli:app"
[tool.setuptools.packages.find]
where = ["src"]
exclude = ["material"]
[tool.ruff]
line-length = 88
extend-include = ["*.ipynb"]
[tool.ruff.lint]
select = ["E4", "E7", "E9", "W", "F", "B", "D", "I", "S"]
ignore = ["D203", "D213", "S101"]
unfixable = ["B", "S"]
pydocstyle.convention = "google"
[tool.mypy]
ignore_missing_imports = true