-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.ruff.toml
More file actions
40 lines (35 loc) · 843 Bytes
/
.ruff.toml
File metadata and controls
40 lines (35 loc) · 843 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
# Copyright (c) 2026 Robotics and AI Institute LLC dba RAI Institute. All rights reserved.
# Ruff configuration
line-length = 100
src = ["python/"]
target-version = "py311"
[lint]
# Enable pycodestyle (E), pyflakes (F), isort (I), and other useful rules
select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"SIM", # flake8-simplify
]
ignore = [
"E501", # line-too-long (formatter handles code lines; comments/docstrings must be manual)
]
[format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
# Exclude patterns
exclude = [
".git",
"__pycache__",
"build",
"dist",
".pixi",
"IsaacLab",
"*.egg-info",
"python/**/_version.py",
]