-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
55 lines (49 loc) · 1.45 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
[project]
name = "Wordle"
description = "Wordle from the terminle... I mean terminal."
version = "1.0.6"
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
authors = [{ name = "AlexBlandin" }, { name = "3b1b" }] # 3b1b is Grant Sanderson
dependencies = ["colorama; platform_system == 'Windows'"]
[project.optional-dependencies]
3b1b = ["tqdm", "numpy", "rich", "scipy"]
dev = ["ruff", "pdbp", "basedmypy", "basedpyright"]
[project.urls]
Documentation = "https://github.com/alexblandin/Wordle#readme"
Issues = "https://github.com/alexblandin/Wordle/issues"
Source = "https://github.com/alexblandin/Wordle"
[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