-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
62 lines (54 loc) · 1.22 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
[tool.poetry]
name = "zebra"
version = "0.2.0"
description = "Generator and solver for zebra puzzles"
authors = ["Tushar Chandra <[email protected]>"]
license = "MIT"
[tool.poetry.dependencies]
python = "3.12.0"
pycosat = "^0.6.3"
rich = "^13.6.0"
questionary = "^2.0.1"
[tool.poetry.group.dev.dependencies]
ruff = "0.2.2"
pyright = "^1.1.339"
icecream = "^2.1.3"
pytest = "^7.4.3"
pytest-pretty = "^1.2.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.masonry.api"
[tool.ruff]
line-length = 120
target-version = "py312"
preview = true
[tool.ruff.format]
preview = true
[tool.ruff.lint]
ignore = [
"E501", # line length
]
select = [
"F",
"E",
"W",
"I", # isort
"RUF", # ruff rules
"N", # pep8-naming
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"PT", # flake8-pytest-style
"PTH", # flake8-use-pathlib
"SIM", # flake8-simplify
"TID252", # tidy imports
"UP", # pyupgrade
"T201", # no print statements
]
[tool.pyright]
typeCheckingMode = "strict"
pythonVersion = "3.12"
ignore = ["src/examples/"]
executionEnvironments = [{ root = "." }]
[tool.pytest.ini_options]
# addopts = ["--pdbcls=pdbr:RichPdb"]
addopts = "--pdbcls=IPython.terminal.debugger:Pdb"