-
Notifications
You must be signed in to change notification settings - Fork 85
/
Copy pathpyproject.toml
36 lines (30 loc) · 1.09 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
[project]
name = "HASH"
version = "0.0.0+private"
[tool.rye]
virtual = true
# an empty key is here by no mistake, it enables workspaces
# and enables automatic detection of workspace members
# see: https://rye.astral.sh/guide/pyproject/#toolryeworkspace
[tool.rye.workspace]
[tool.ruff]
target-version = "py311"
fix = true # when linting always include safe fixes
[tool.ruff.lint]
preview = true
select = ["ALL"]
ignore = [
"D203", # this conflicts with `D211`
"D213", # this conflicts with `D212`
"D401", # Relates to PEP-257 but also conflicts with Google Python Style Guide, generally gets in the way.
"ANN101", # most type checkers infer the type of `self` automatically.
"ANN102", # most type checkers infer the type of `cls` automatically.
"FIX002", # TODOs should be fixed, not removed
"TD002", # We don't add authors to TODO strings
"PLC0414", # Conflicts with `no_implicit_reexport = true`
"COM812", # Conflicts with formatter
"ISC001", # Conflicts with formatter
]
[tool.ruff.format]
preview = true
docstring-code-format = true