forked from MicroPythonOS/MicroPythonOS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathruff.toml
More file actions
33 lines (29 loc) · 828 Bytes
/
Copy pathruff.toml
File metadata and controls
33 lines (29 loc) · 828 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
line-length = 120
exclude = [
"tests", # TODO: Remove in the future, but it causes too many errors right now
# Exclude all git submodules:
"esp32-component-rvswd",
"freezeFS",
"lvgl_micropython",
"micropython-camera-API",
"micropython-nostr",
"secp256k1-embedded-ecdh",
]
[lint]
preview = false # TODO: enable this at some point, but it causes too many errors right now
select = [
"F401", # imported but unused
]
extend-select = [
# TODO:
# "E", # pycodestyle: https://docs.astral.sh/ruff/rules/#error-e
# "I", # isort: https://docs.astral.sh/ruff/rules/#isort-i
]
ignore = [
"E701", # compound statements (if __debug__: logger.debug()) — deliberate
]
[lint.isort]
# https://docs.astral.sh/ruff/settings/#lintisort
lines-after-imports = 2
[format]
quote-style = "double"