-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
56 lines (47 loc) · 1.49 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
[project]
name = "darbiadev-sands"
version = "0.1.0"
description = "A wrapper for S&S' API."
readme = "README.md"
authors = [
{ name = "Bradley Reynolds", email = "[email protected]" },
]
license = { text = "MIT" }
requires-python = ">=3.11"
dynamic = ["dependencies", "optional-dependencies"]
[project.urls]
repository = "https://github.com/darbiadev/darbiadev-sands/"
documentation = "https://docs.darbia.dev/darbiadev-sands/"
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.dynamic.dependencies]
file = ["requirements/requirements.txt"]
[tool.setuptools.dynamic.optional-dependencies]
dev = { file = ["requirements/requirements-dev.txt"] }
tests = { file = ["requirements/requirements-tests.txt"] }
docs = { file = ["requirements/requirements-docs.txt"] }
[tool.black]
target-version = ["py311"]
line-length = 120
[tool.ruff]
target-version = "py311"
line-length = 120
select = ["ALL"]
ignore = [
"N815" # (Variable `` in class scope should not be mixedCase) - TBD
]
[tool.ruff.extend-per-file-ignores]
"docs/*" = [
"INP001", # (File `tests/*.py` is part of an implicit namespace package. Add an `__init__.py`.) - Docs are not modules
]
"tests/*" = [
"INP001", # (File `tests/*.py` is part of an implicit namespace package. Add an `__init__.py`.) - Tests are not modules
"S101", # (Use of `assert` detected) - Yes, that's the point
]
[tool.ruff.pydocstyle]
convention = "numpy"
[tool.coverage.run]
source = [
"darbia",
]