Skip to content

Switches to ruff in-built isort ordering#4377

Merged
Mayankm96 merged 6 commits intoisaac-sim:mainfrom
Mayankm96:fix/ruff-isort
Jan 14, 2026
Merged

Switches to ruff in-built isort ordering#4377
Mayankm96 merged 6 commits intoisaac-sim:mainfrom
Mayankm96:fix/ruff-isort

Conversation

@Mayankm96
Copy link
Contributor

@Mayankm96 Mayankm96 commented Jan 13, 2026

Description

Fixes #4336

Type of change

  • Breaking change (existing functionality will not work without user modification)
  • Documentation update

Checklist

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks with ./isaaclab.sh --format
  • 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
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Jan 13, 2026

Too many files changed for review. (389 files found, 100 file limit)

@github-actions github-actions bot added bug Something isn't working documentation Improvements or additions to documentation asset New asset feature or request isaac-mimic Related to Isaac Mimic team infrastructure labels Jan 13, 2026
"isaaclab-rl",
"isaaclab-mimic",
"isaaclab-tasks",
"isaaclab-assets",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a specific reason for putting assets ant the bottom?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assets only have pre-built configurations. It looked slightly cleaner to have those global objects in the end of the file (i.e. based on the order of their typical usage in the code).

from isaaclab_tasks.locomotion.velocity import VelocityEnvCfg

from isaaclab_assets.robots import DIGIT_CFG

cfg = VelocityEnvCfg()
cfg.scene.robot = DIGIT_CFG

@Mayankm96 Mayankm96 merged commit 3adc668 into isaac-sim:main Jan 14, 2026
10 checks passed
nitesh-subedi pushed a commit to nitesh-subedi/IsaacLab that referenced this pull request Feb 5, 2026
# Description

Fixes isaac-sim#4336

## Type of change

- Breaking change (existing functionality will not work without user
modification)
- 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
- [x] 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

asset New asset feature or request bug Something isn't working documentation Improvements or additions to documentation infrastructure isaac-mimic Related to Isaac Mimic team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Proposal] Reconsider isort Import Ordering to Align with Standard Python Conventions

2 participants