-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
39 lines (35 loc) · 1022 Bytes
/
Copy pathpyproject.toml
File metadata and controls
39 lines (35 loc) · 1022 Bytes
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
[project]
name = "countdown"
version = "0.1.0"
description = "Countdown anagram and arithmetic puzzle solver"
requires-python = ">=3.12"
[tool.ruff]
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "N", "UP", "PLC", "PLE", "PLR", "PLW", "RUF", "B", "D", "UP", "ASYNC",
"ANN", "PD", "NPY", "PL", "TCH"]
ignore = [
"ANN002", # missing-type-args
"ANN003", # missing-type-kwargs
"ANN401", # any-type
"D200", # fits-on-one-line
"D203", # one-blank-line-before-class
"D204", # one-blank-line-after-class
"D205", # blank-line-after-summary
"D206", # indent-with-spaces (REDUNDANT)
"D212", # multi-line-summary-first-line
"D400", # ends-in-period
"D401", # non-imperative-mood
"D415", # ends-in-punctuation
"D404", # docstring-starts-with-this
"E741", # ambiguous-variable-name
"E501",
]
# Don't try to fix flake8-bugbear:
unfixable = [
"B",
]
[tool.ty.environment]
python = ".venv"
[tool.ty.rules]
unresolved-import = "ignore"