-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
99 lines (89 loc) · 1.86 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
[tool.poetry]
name = "PythonDevelopment2024-Sudoku"
version = "0.0.3"
description = ""
authors = [
"SegFaulti4 <[email protected]>",
"Winking-maniac <[email protected]>",
]
readme = "README.md"
packages = [
{ include = "./sudoku" },
{ include = "./sudoku_tui" },
]
include = [
{ path = "docs/_build/html/*" },
{ path = "po/*/LC_MESSAGES/*.mo" },
]
[tool.poetry.dependencies]
python = "^3.10"
attrs = "^23.2.0"
cattrs = "^23.2.3"
numpy = "^1.26.4"
asciimatics = "^1.15.0"
babel = "^2.15.0"
[tool.poetry.group.dev.dependencies]
mypy = "^1.10.0"
ruff = "^0.4.2"
[tool.poetry.group.test.dependencies]
pytest = "^8.2.0"
[tool.poetry.group.docs.dependencies]
sphinx = "^7.3.7"
sphinx-autodoc-typehints = "^2.1.0"
[tool.mypy]
python_version = "3.10"
follow_imports = "normal"
check_untyped_defs = true
allow_redefinition = true
disallow_untyped_defs = true
ignore_missing_imports = true
[tool.ruff]
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".ipynb_checkpoints",
".mypy_cache",
".nox",
".pants.d",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
".vscode",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"site-packages",
"venv",
]
line-length = 120
indent-width = 4
target-version = "py310"
[tool.ruff.lint]
preview = true
select = ["F", "E", "W", "C90", "I", "N", "D"]
ignore = ["D203", "D213", "C901"]
fixable = ["ALL"]
unfixable = []
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["D"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
docstring-code-format = false
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"