-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
51 lines (41 loc) · 1.17 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
[tool.poetry]
name = "lidipy"
version = "0.3.1"
description = "Lidi is a lightweight dependency injector designed to simplify dependency management in your Python projects."
authors = ["AlTosterino <altosterino@gmail.com>"]
readme = "README.md"
packages = [{include = "lidipy", from = "src"}]
[tool.poetry.dependencies]
python = ">=3.11,<3.13"
[tool.poetry.group.dev.dependencies]
ruff = "~0"
black = "~24"
pytest = "~8"
mypy = "~1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
# THIRD PARTY
[tool.black]
line_length = 100
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_no_return = true
warn_unused_configs = true
warn_redundant_casts = true
warn_unreachable = false
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
ignore_missing_imports = true
[tool.ruff]
line-length = 110
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "PL", "N", "S", "B", "A", "TD", "FIX", "PERF", "PT"]
ignore = ["D107", "D203", "D211"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["E402", "D104"]
"**/{tests,docs,tools}/**" = ["D100", "D101", "D103", "S101"]