-
Notifications
You must be signed in to change notification settings - Fork 28
/
pyproject.toml
69 lines (61 loc) · 1.5 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
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "affine"
description = "Matrices describing affine transformation of the plane"
dynamic = ["version"]
authors = [
{name = "Sean Gillies", email = "[email protected]"},
]
readme = "README.rst"
keywords = ["affine", "transformation", "matrix"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Multimedia :: Graphics :: Graphics Conversion",
"Topic :: Scientific/Engineering :: GIS",
]
license = {text = "BSD-3-Clause"}
requires-python = ">=3.7"
[project.optional-dependencies]
test = [
"numpy",
"pytest >=4.6",
"pytest-cov",
]
dev = [
"coveralls",
]
[project.urls]
Source = "https://github.com/rasterio/affine"
[tool.flit.sdist]
include = [
"AUTHORS.txt",
"CHANGES.txt",
"LICENSE.txt",
]
[tool.ruff.lint]
select = [
"B", # flake8-bugbear
"D", # pydocstyle
"E", "W", # pycodestyle
"F", # Pyflakes
"I", # isort
"NPY", # NumPy-specific rules
"PT", # flake8-pytest-style
"RUF", # Ruff-specific rules
"UP", # pyupgrade
]
ignore = [
"D105", # Missing docstring in magic method
]
[tool.ruff.lint.per-file-ignores]
"affine/tests/**.py" = ["B", "D"]
"docs/**.py" = ["D"]
[tool.ruff.lint.isort]
force-sort-within-sections = true
[tool.ruff.lint.pydocstyle]
convention = "numpy"