-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
64 lines (55 loc) · 1.62 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
[project]
name = "search-offsets"
version = "0.1.0"
requires-python = ">=3.10"
[tool.poetry]
name = "search-offsets"
version = "0.1.0"
description = ""
authors = ["insolor <[email protected]>"]
license = "MIT"
readme = "README.md"
packages = [{include = "search_offsets"}]
[tool.poetry.dependencies]
python = "^3.10"
more-itertools = "^10.5.0"
peclasses = {version = "^0.4.0", source = "dfint"}
loguru = "^0.7.3"
omegaconf = "^2.3.0"
jinja2 = "^3.1.5"
[tool.poetry.group.dev.dependencies]
ruff = "^0.8.4"
pytest = "^8.3.4"
hypothesis = "^6.123.2"
[tool.poetry.scripts]
search = "search_offsets.search:main"
[[tool.poetry.source]]
name = "dfint"
url = "https://dfint.github.io/pypi-index/"
priority = "explicit"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
target-version = "py310"
line-length = 120
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"T201", # `print` found
"S101", # Use of assert detected
"ANN101", # Missing type annotation for self in method
"D100", # Missing docstring in public module
"D104", # Missing docstring in public package
"D105", # Missing docstring in magic method
"D200", # One-line docstring should fit on one line
"D212", # Multi-line docstring summary should start at the first line
"D401", # First line should be in imperative mood
]
unfixable = []
[tool.ruff.lint.per-file-ignores]
"tests/*" = [
"S101", # Don't warn about using of asserts in tests
"ANN201", # Ignore "Missing return type annotation for public function", tests don't return anything
"D", # Don't warn about missing documentation in tests
]