-
Notifications
You must be signed in to change notification settings - Fork 131
Expand file tree
/
Copy pathpyproject.toml
More file actions
40 lines (36 loc) · 1000 Bytes
/
pyproject.toml
File metadata and controls
40 lines (36 loc) · 1000 Bytes
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
[tool.ruff]
# Maximum allowed line length for code.
line-length = 81
# Target Python version for linting and autofixes.
target-version = "py311"
# Automatically apply fixes for linting issues when possible.
fix = true
# Exclude specific directories from linting and fixing.
exclude = [
"**/outcomes/**",
"**/import_check/example/**"
]
# Format of the output from Ruff.
output-format = "concise"
[tool.ruff.lint]
# Ignore specific lint rules
# E731: Do not assign a `lambda` expression, use a `def`
ignore = ["E731"]
[tool.pyrefly]
# Currently, Pyrefly doesn't officially support [tool.pyrefly] config
# Instead, use CLI flags like `pyrefly lint . --config path/to/config.yaml`
# But you can still define this for documentation or future support
path = "."
#[tool.fixit]
#ignore_codes = []
#enabled = true
#format = "text"
#exclude = [
# "**/outcomes/**",
# "**/import_check/example/**"
#]
#show_source = true
# pyproject.toml
[tool.jupytext]
# Pair by default.
formats = "ipynb,py:percent"