-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
79 lines (69 loc) · 1.63 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "gridit"
dynamic = ["version"]
authors = [
{name = "Mike Taves", email = "mwtoews@gmail.com"},
]
description = "Spatial tools to translate raster or vector geometry data to regular grids"
readme = "README.md"
keywords = ["rasterize", "grid", "regular grid"]
license = {text = "BSD 3-Clause"}
classifiers = [
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering :: GIS",
]
requires-python = ">=3.9"
dependencies = [
"numpy",
]
[project.optional-dependencies]
dev = ["gridit[test,optional]"]
optional = [
"fiona",
"flopy",
"matplotlib",
"netCDF4",
"geopandas",
"rasterio >=1.2.2",
"scipy",
"shapely",
"xarray",
]
test = [
"pytest",
"pytest-cov",
"pytest-xdist",
]
[project.scripts]
gridit = "gridit.__main__:cli_main"
[project.urls]
Repository = "https://github.com/mwtoews/gridit"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "gridit/_version.py"
[tool.hatch.build.targets.sdist]
only-include = ["gridit", "tests"]
[tool.pytest.ini_options]
testpaths = [
"tests",
]
filterwarnings = [
"ignore:distutils Version classes are deprecated:DeprecationWarning:numexpr",
"ignore:numpy.ndarray size changed:RuntimeWarning",
]
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # Pyflakes
"UP", # pyupgrade
"I", # isort
"NPY", # NumPy-specific
]
[tool.ruff.lint.per-file-ignores]
"**/{tests}/*" = ["D", "ANN"]