-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
50 lines (42 loc) · 1.1 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
[project]
name = "nested-duck-arrays"
requires-python = ">= 3.9"
license = {text = "MIT"}
authors = [{name = "Justus Magin", email = "[email protected]"}]
dependencies = []
readme = "README.md"
dynamic = ["version"]
[project.urls]
repository = "https://github.com/keewis/nested-duck-arrays"
[build-system]
requires = ["setuptools>=64.0", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = ["nested_duck_arrays"]
[tool.setuptools_scm]
fallback_version = "9999"
[tool.ruff]
builtins = ["ellipsis"]
target-version = "py39"
[tool.ruff.lint]
extend-safe-fixes = [
"TID252", # absolute imports
]
ignore = [
"E402", # module level import not at top of file
"E501", # line too long - let black worry about that
"E731", # do not assign a lambda expression, use a def
]
select = [
"F", # Pyflakes
"E", # Pycodestyle
"W",
"TID", # flake8-tidy-imports (absolute imports)
"I", # isort
"UP", # Pyupgrade
]
[tool.ruff.lint.isort]
known-first-party = ["nested_duck_arrays"]
[tool.ruff.lint.flake8-tidy-imports]
# Disallow all relative imports.
ban-relative-imports = "all"