-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
65 lines (56 loc) · 1.35 KB
/
pyproject.toml
File metadata and controls
65 lines (56 loc) · 1.35 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
[project]
name = "ahn_cli"
version = "0.3.5"
description = "AHN CLI for downloading Dutch elevation point cloud data"
authors = [{ name = "HideBa", email = "baba.papa1120.ba@gmail.com" }]
license = { text = "MIT" }
readme = "README.md"
requires-python = ">=3.10,<3.13"
dependencies = [
"click>=8.2.0",
"geopandas>=1.1.0",
"shapely>=2.1.0",
"laspy[lazrs]>=2.6.0",
"requests>=2.32.0",
"rasterio>=1.4.0",
"tqdm>=4.67.0",
"polyscope>=2.4.0",
"typing-extensions>=4.14.1",
]
[project.scripts]
ahn_cli = "ahn_cli.main:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build]
include = ["ahn_cli/**/*.py", "ahn_cli/**/*.geojson", "README.md", "LICENSE"]
# Ruff configuration
[tool.ruff]
line-length = 78
target-version = "py310"
[tool.ruff.lint]
# Enable flake8-style linting plus additional rules
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = [
"E501", # line too long (handled by line-length)
]
[tool.ruff.lint.isort]
known-first-party = ["ahn_cli"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "auto"
[dependency-groups]
dev = [
"pytest>=8.4.1",
"ruff>=0.12.5",
"typos>=1.34.0",
]