-
Notifications
You must be signed in to change notification settings - Fork 8
/
pyproject.toml
84 lines (72 loc) · 2.11 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
[project]
name = "rio-tiler-pds"
description = "Get mercator tile from cloud hosted dataset such as CBERS-4, Sentinel-2, Sentinel-1 and Landsat-8 AWS PDS."
readme = "README.md"
requires-python = ">=3.8"
license = {file = "LICENSE.txt"}
authors = [
{name = "Vincent Sarago", email = "vincent@developmentseed.com"},
]
keywords = ["COGEO", "Cloud Optimized Geotiff", "AWS PDS"]
classifiers = [
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: GIS",
"Typing :: Typed",
]
dynamic = ["version"]
dependencies = ["rio-tiler>=5.0,<7.0", "boto3"]
[project.optional-dependencies]
test = ["pytest", "pytest-cov"]
dev = ["pre-commit"]
docs = ["mkdocs", "mkdocs-material", "pygments", "mkapi"]
[project.urls]
Source = "https://github.com/cogeotiff/rio-tiler-pds"
Documentation = "https://cogeotiff.github.io/rio-tiler-pds/"
[build-system]
requires = ["flit>=3.2,<4"]
build-backend = "flit_core.buildapi"
[tool.flit.module]
name = "rio_tiler_pds"
[tool.flit.sdist]
exclude = [
"tests/",
"docs/",
".github/",
"CHANGELOG.md",
"CONTRIBUTING.md",
]
[tool.coverage.run]
branch = true
parallel = true
[tool.coverage.report]
exclude_lines = [
"no cov",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
[tool.isort]
profile = "black"
known_first_party = ["rio_tiler", "rio_tiler_pds", "rio_toa"]
known_third_party = ["rasterio","morecantile"]
default_section = "THIRDPARTY"
[tool.mypy]
no_strict_optional = "True"
[tool.ruff]
select = [
"D1", # pydocstyle errors
"E", # pycodestyle errors
"W", # pycodestyle warnings
"C", # flake8-comprehensions
"B", # flake8-bugbear
]
ignore = [
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"B905", # ignore zip() without an explicit strict= parameter, only support with python >3.10
]