-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
89 lines (80 loc) · 1.68 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
87
88
89
[build-system]
requires = ["setuptools>=61.0", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
fallback_version = "9999"
[tool.setuptools.packages.find]
include = [
"xproj",
"xproj.*",
]
[project]
name = "xproj"
dynamic = ["version"]
authors = [
{ name = "Benoît Bovy" },
{ name = "Scott Henderson" },
]
maintainers = [
{ name = "xproj contributors" },
]
license = { text = "Apache-2.0" }
description = "Xarray extension for projections and coordinate reference systems"
keywords = ["xarray", "GIS", "CRS", "proj"]
readme = "README.md"
classifiers = [
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: GIS",
]
requires-python = ">=3.10"
dependencies = [
"xarray",
"pyproj",
]
[project.optional-dependencies]
test = [
"pytest",
]
[project.urls]
Documentation = "https://xproj.readthedocs.io"
Repository = "https://github.com/benbovy/xproj"
[tool.ruff]
builtins = ["ellipsis"]
exclude = [
".git",
".eggs",
"build",
"dist",
"__pycache__",
"examples",
]
line-length = 100
[tool.ruff.lint]
ignore = [
"E402", # E402: module level import not at top of file
]
select = [
"F", # Pyflakes
"E", # Pycodestyle
"I", # isort
"UP", # Pyupgrade
"TID", # flake8-tidy-imports
"W",
]
extend-safe-fixes = [
"TID252", # absolute imports
]
fixable = ["I", "TID252"]
[tool.ruff.lint.isort]
known-first-party = ["xproj"]
known-third-party = [
"xarray",
"pyproj",
]
[tool.mypy]
files = ["xproj"]
show_error_codes = true
warn_unused_ignores = false