-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
65 lines (59 loc) · 1.51 KB
/
pyproject.toml
File metadata and controls
65 lines (59 loc) · 1.51 KB
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
[project]
name = "envrs"
version = "0.1.0"
requires-python = ">=3.13"
[build-system]
requires = ["uv_build >= 0.7.19, <0.9.0"]
build-backend = "uv_build"
[tool.ruff]
exclude = [
".eggs",
".git",
".git-rewrite",
".ipynb_checkpoints",
".mypy_cache",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".venv",
".vscode",
"__pypackages__",
"_build",
"build",
"dist",
"site-packages",
"venv",
"*_homework_exercise.ipynb"
]
line-length = 88
indent-width = 4
target-version = "py313"
# unsafe-fixes = true
[tool.ruff.lint]
select = ["ALL"] # Subsets could also be used if that is too much
ignore = [
"ANN",
# "ANN401", # any-type (in func args)
"D203", # incorrect-blank-line-before-class
"D213", # multi-line-summary-second-line (opposite to D212)
"PGH", # pygrep hooks are ignored
"TD002", # missing-todo-author
"TD003", # missing-todo-link
"T201", # print (should not be used)
"COM812", # missing-trailing-comma
"EXE002", # shebang-missing-executable-file
"PLR0913", # too-many-arguments
"D103", # undocumented-public-function
]
fixable = ["ALL"]
unfixable = []
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
docstring-code-format = false # maybe true? Should replace blackdoc
docstring-code-line-length = "dynamic"
[tool.ruff.lint.isort]
known-third-party = ["IPython","download_path","matplotlib","numpy","pandas","statsmodels"]