-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
94 lines (83 loc) · 1.69 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
[tool.poetry]
authors = ["Chris Gregory <[email protected]>"]
classifiers = [
"Intended Audience :: Developers",
"Topic :: Software Development",
"Programming Language :: Python",
"Programming Language :: Python :: 3.12",
]
description = "Boolean formula parsing"
keywords = []
license = "Apache Software License"
name = "markers"
readme = "README.md"
repository = "https://github.com/gregorybchris/markers"
version = "0.1.0"
[[tool.poetry.packages]]
include = "markers"
[tool.poetry.dependencies]
click = "^8.1.7"
python = ">=3.12"
rich = "^13.7.1"
[tool.poetry.group.dev.dependencies]
mypy = "^1.11.1"
pytest = "^8.3.2"
ruff = "^0.5.7"
semver = "^3.0.2"
[tool.poetry.scripts]
markers = "markers.cli:main"
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0"]
[tool.mypy]
disallow_incomplete_defs = true
disallow_untyped_calls = true
disallow_untyped_defs = true
ignore_missing_imports = true
[tool.ruff]
line-length = 120
src = ["markers"]
[tool.ruff.lint]
ignore = ["D100", "D104", "FIX002", "TD002", "TD003"]
select = [
"A",
"ARG",
"B",
"BLE",
"C4",
"D",
"E",
"EM",
"ERA",
"F",
"FIX",
"G",
"I",
"ICN",
"ISC",
"LOG",
"N",
"PL",
"PT",
"PTH",
"PLR",
"RET",
"RUF",
"SIM",
"SLF",
"T20",
"TCH",
"TD",
"TID",
"W",
]
[tool.ruff.lint.pycodestyle]
max-line-length = 120
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.extend-per-file-ignores]
"**/__init__.py" = ["D"]
"**/tests/**/*.py" = ["D", "SLF", "PLR2004", "PLR6301"]
"markers/cli.py" = ["T201", "T203"]
"markers/error.py" = ["T201"]
"markers/parser.py" = ["A005"]