ruff/crates/ruff
Dylan 700e969c56
Config error only when `flake8-import-conventions` alias conflicts with `isort.required-imports` bound name (#15918)
Previously an error was emitted any time the configuration required both
an import of a module and an alias for that module. However, required
imports could themselves contain an alias, which may or may not agree
with the required alias.

To wit: requiring `import pandas as pd` does not conflict with the
`flake8-import-conventions.alias` config `{"pandas":"pd"}`.

This PR refines the check before throwing an error.

Closes #15911
2025-02-04 17:05:35 -06:00
..
resources/test/fixtures Rename `ruff_cli` crate to `ruff` (#9557) 2024-01-16 17:47:01 -05:00
src Fix formatter warning message for `flake8-quotes` option (#15788) 2025-01-29 16:30:28 +05:30
tests Config error only when `flake8-import-conventions` alias conflicts with `isort.required-imports` bound name (#15918) 2025-02-04 17:05:35 -06:00
Cargo.toml Bump version to 0.9.4 (#15831) 2025-01-30 11:29:22 -06:00
build.rs ruff: add worktree support to build.rs (#14896) 2024-12-10 14:06:59 -05:00