ruff/crates/ruff_linter
Jelmer Vernooij f1ed0f27c2
isort: Add support for the `from-first` setting (#8663)
# Summary

This setting behaves similarly to the ``from_first`` setting in isort
upstream, and sorts "from X import Y" type imports before straight
imports.

Like the other PR I added, happy to refactor if this is better in
another form.

Fixes #8662 

# Test plan

I've added a unit test, and ran this on a large codebase that relies on
this setting in isort to verify it doesn't have unexpected side effects.
2023-11-21 23:36:15 +00:00
..
resources/test isort: Add support for the `from-first` setting (#8663) 2023-11-21 23:36:15 +00:00
src isort: Add support for the `from-first` setting (#8663) 2023-11-21 23:36:15 +00:00
Cargo.toml Bump version to v0.1.6 (#8744) 2023-11-17 13:29:19 -05:00