-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
54 lines (48 loc) · 1.38 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
[project]
name = "GreenbookClub"
description = "An unofficial official example generator and solver for Greenbook Club problems!"
version = "1.0.0"
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
authors = [{ name = "AlexBlandin" }]
dependencies = []
[project.optional-dependencies]
dev = ["ruff", "pdbp", "basedmypy", "basedpyright"]
[project.urls]
Documentation = "https://github.com/alexblandin/GreenbookClub#readme"
Issues = "https://github.com/alexblandin/GreenbookClub/issues"
Source = "https://github.com/alexblandin/GreenbookClub"
[tool.ruff]
indent-width = 2
target-version = "py310"
line-length = 120
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"ERA", # code comments actually help
"TD003", # not using github to track todo/issues
"S311", # I know when to use secrets
# "T20", # print is good, actually
"D202", # a little vertical separation can be nice
"W191", # ruff format
"E111", # ruff format
"E114", # ruff format
"E117", # ruff format
"E203", # ruff format
"D206", # ruff format
"D212", # ruff format
"D300", # ruff format
"Q", # ruff format
"COM812", # ruff format
"COM819", # ruff format
"ISC001", # ruff format
"ISC002", # ruff format
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.format]
quote-style = "double"
line-ending = "lf"
indent-style = "space"
skip-magic-trailing-comma = false