-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
86 lines (79 loc) · 1.8 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
82
83
84
85
86
[project]
name = "greensenti"
description = "Green-senti client"
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
authors = [
{ name = "Khaos Research Team", email = "[email protected]" },
]
classifiers=[
"Intended Audience :: Information Technology",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python",
"Typing :: Typed",
"License :: OSI Approved :: MIT License",
]
dependencies = [
"fire>=0.5.0",
"sentinelsat>=1.2.1",
"Shapely==2.0.1",
"pandas==2.0.0",
"pyproj>=3.5.0",
"rasterio>=1.2.10",
"numpy==1.24.2",
"matplotlib>=3.5.1",
"simplejson>=3.17.6",
"python-dotenv>=1.0.0",
]
dynamic = ["version"]
[project.optional-dependencies]
dev = ["black==23.1.0", "mypy>=1.0.1", "ruff>=0.0.253"]
tests = ["pytest>=7.0.0", "pytest-cov>=4.0.0"]
gcloud = ["google-cloud-storage>=2.5.0"]
complete = ["greensenti[dev]", "greensenti[tests]", "greensenti[gcloud]"]
[project.scripts]
greensenti = "greensenti.__main__:cli"
[tool.black]
line-length = 120
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.ruff]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
]
ignore = [
"E501", # line too long, handled by black
"C901", # too complex
]
[tool.mypy]
check_untyped_defs = true
ignore_errors = false
ignore_missing_imports = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_unreachable = true
warn_unused_configs = true
pretty = true
[tool.hatch.version]
path = "src/greensenti/__init__.py"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"