-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
71 lines (64 loc) · 1.69 KB
/
pyproject.toml
File metadata and controls
71 lines (64 loc) · 1.69 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
66
67
68
69
70
71
[project]
name = "project-name"
version = "0.1.0"
description = "Project description"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"duckdb>=1.1.3",
"great-tables>=0.15.0",
"ipykernel>=6.29.5",
"jupyter>=1.1.1",
"jupytext>=1.17.2",
"pandas>=2.2.3",
"polars>=1.17.1",
"seaborn>=0.13.2",
]
[tool.uv]
dev-dependencies = [
"codespell>=2.4.1",
"pre-commit>=4.2.0",
"ruff>=0.7.4",
]
[tool.ruff]
line-length = 88
fix = true
# Assume Python 3.12
target-version = "py312"
[tool.ruff.lint]
# docs: https://docs.astral.sh/ruff/rules/
select = [
"F", # Pyflakes
"E", # pycodestyle errors
"W", # pycodestyle warnings
"I", # isort
"D", # flake8-docstrings
"UP", # pyupgrade
"SIM", # flake8-simplify
]
ignore = [
# do not enable if formatting
# docs: https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
"W191", # tab indentation
"E111", # indentation
"E114", # indentation
"E117", # over indented
"D206", # indent with spaces
"D300", # triple single quotes
"E501", # line length regulated by formatter
"D105", # missing docstring in magic method
"D100", # missing docstring in public module
"D104", # missing docstring in public package
"SIM110", # Use all instead of `for` loop
"TRY003", # Avoid specifying long messages outside the exception class
"D205", # 1 blank line required between summary line and description
"D203",
"D213",
]
[tool.ruff.format]
docstring-code-format = true
docstring-code-line-length = 88
[tool.codespell]
builtin = "clear,rare,informal,usage,code,names"
ignore-words-list = "jupyter,ipa"
skip = "uv.lock"