-
Notifications
You must be signed in to change notification settings - Fork 18
/
pyproject.toml
64 lines (56 loc) · 1.08 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 = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "src"
version = "0.1.0"
description = "Mapping tree canopy cover from street level imagery."
readme = "README.md"
requires-python = ">=3.8"
license = { file = "LICENSE" }
authors = [{ name = "The American National Red Cross" }]
classifiers = [
]
dependencies = [
"folium",
"geopandas",
"geopy",
"h3pandas",
"loguru",
"mapclassify",
"matplotlib",
"numpy",
"opencv-python",
"pandas",
"pillow",
"pytest-cov",
"pytest",
"python-dotenv",
"requests",
"ruff",
"scikit-image",
"shapely",
"stamina",
"tqdm",
"typer",
"typer-config",
]
## TOOLS ##
[tool.ruff]
src = ["src/**/*.py", "tests/**/*.py"]
[tool.ruff.lint]
select = [
"E", # Pyflakes
"F", # Pycodestyle
"I", # isort
]
unfixable = ["F"]
[tool.ruff.lint.isort]
known-first-party = ["src"]
force-sort-within-sections = true
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--cov=src --cov-report=term --cov-report=html --cov-report=xml"
testpaths = ["tests"]
[tool.coverage.run]
source = ["src"]