-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathruff.toml
More file actions
23 lines (18 loc) · 941 Bytes
/
ruff.toml
File metadata and controls
23 lines (18 loc) · 941 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# For full list of configuration elements see documentation at https://docs.astral.sh/ruff/editors/settings.
line-length = 160
src = ['ebm', 'ebmgeodist']
[format]
quote-style = "single"
indent-style = "space"
docstring-code-format = true
# For full list of available rules check documentation at https://docs.astral.sh/ruff/rules/.
[lint]
select = ["A", "ANN", "ASYNC", "B", "C90", "COM", "E", "EM", "F", "FIX", "G", "I", "INP", "ISC", "N", "PD", "PLC", "PLE", "PLR", "PLW", "PT", "PTH", "Q", "RET", "RSE", "RUF", "SIM", "SLF", "UP", "W"]
ignore = ["ANN204", "B007", "N999", "D203", "D212", "D104", "D100", "INP001", "EM101", "FIX002", "PLR0912", "PLR0913", "SIM108","Q000", "RET504", 'W293']
[lint.isort]
case-sensitive = true
no-lines-before = ["future", "standard-library"]
known-first-party = ['ebm', 'ebmgeodist']
[lint.per-file-ignores]
"test_*.py" = ["ANN201", "D103", "PLR2004", "ANN001", "SLF001"]
"**/__init__.py" = ["I001"]