forked from purahan/ros2_lingua
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathruff.toml
More file actions
28 lines (24 loc) · 682 Bytes
/
Copy pathruff.toml
File metadata and controls
28 lines (24 loc) · 682 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
# ruff configuration for ros2_lingua
# Docs: https://docs.astral.sh/ruff/configuration/
target-version = "py310"
line-length = 100
[lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"UP", # pyupgrade — enforce Python 3.10+ idioms
"B", # flake8-bugbear — catches common bugs
"C4", # flake8-comprehensions
"SIM", # flake8-simplify
]
ignore = [
"E501", # line too long — handled by formatter
"B008", # do not perform function calls in default args (common in ROS nodes)
]
[lint.isort]
known-first-party = ["ros2_lingua_core"]
[format]
quote-style = "double"
indent-style = "space"