Commit 6cb2a7e
authored
Switches code linting to Ruff (#4329)
# Description
Ruff can handle linting, formatting, and type-checking (where
applicable), streamlining our development workflow and improving code
quality.
This PR replaces our current linting setup with Ruff. Subsequent MRs
will look into using Ruff for formatting and import ordering.
## Type of change
- Documentation update
## Checklist
- [x] I have read and understood the [contribution
guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html)
- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [x] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there
---------
Signed-off-by: Mayank Mittal <[email protected]>1 parent 857da26 commit 6cb2a7e
File tree
87 files changed
+732
-206
lines changed- .vscode/tools
- docker
- docs
- licenses/dependencies
- source
- deployment
- overview/developer-guide
- refs
- snippets
- scripts
- demos
- imitation_learning/isaaclab_mimic
- reinforcement_learning/ray
- hyperparameter_tuning
- tools
- test
- source
- isaaclab_assets/isaaclab_assets
- robots
- sensors
- isaaclab_mimic/isaaclab_mimic
- datagen
- envs
- isaaclab_tasks
- isaaclab_tasks
- direct
- automate
- cartpole_showcase/cartpole
- factory
- humanoid_amp/motions
- manager_based
- classic/humanoid/agents
- manipulation
- deploy/mdp
- inhand/mdp
- place/mdp
- stack
- config/galbot
- mdp
- utils
- test
- benchmarking
- isaaclab
- isaaclab
- actuators
- controllers
- devices
- openxr
- envs
- utils
- sensors/ray_caster
- ui
- widgets
- xr_widgets
- utils
- warp
- test
- assets
- controllers
- managers
- sensors
- utils
- tools
- template
- templates/external/.vscode/tools
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
87 files changed
+732
-206
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
7 | 15 | | |
8 | 16 | | |
9 | 17 | | |
10 | 18 | | |
11 | | - | |
12 | | - | |
| 19 | + | |
| 20 | + | |
13 | 21 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| 22 | + | |
| 23 | + | |
19 | 24 | | |
20 | | - | |
| 25 | + | |
21 | 26 | | |
22 | 27 | | |
23 | 28 | | |
| |||
33 | 38 | | |
34 | 39 | | |
35 | 40 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | 41 | | |
49 | | - | |
| 42 | + | |
50 | 43 | | |
51 | 44 | | |
52 | 45 | | |
| |||
58 | 51 | | |
59 | 52 | | |
60 | 53 | | |
61 | | - | |
| 54 | + | |
62 | 55 | | |
63 | 56 | | |
64 | 57 | | |
| |||
70 | 63 | | |
71 | 64 | | |
72 | 65 | | |
73 | | - | |
| 66 | + | |
74 | 67 | | |
75 | 68 | | |
76 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
67 | | - | |
68 | | - | |
| 66 | + | |
| 67 | + | |
69 | 68 | | |
70 | 69 | | |
71 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments