ruff/crates
Tom Kuson f426c0fdaf
[pylint] (Re-)Implement import-private-name (C2701) (#9553)
## Summary

#5920 with a fix for the erroneous slice in `module_name`. Fixes #9547.

## Test Plan

Added `import bbb.ccc._ddd as eee` to the test fixture to ensure it no
longer panics.

`cargo test`
2024-01-16 14:03:11 -05:00
..
ruff_benchmark Update contributing docs to use cargo bench -p ruff_benchmark (#9535) 2024-01-15 14:57:30 -05:00
ruff_cache Make all dependencies workspace dependencies (#9333) 2024-01-02 13:41:59 +00:00
ruff_cli Ignore preview status for fixable and unfixable selectors (#9538) 2024-01-15 21:48:41 -05:00
ruff_dev Move pyproject_config into Resolver (#9453) 2024-01-10 17:58:53 -05:00
ruff_diagnostics Enable annotation quoting for multi-line expressions (#9142) 2023-12-15 01:03:09 +00:00
ruff_formatter --show-settings displays active settings in a far more readable format (#9464) 2024-01-12 14:30:29 -05:00
ruff_index Make all dependencies workspace dependencies (#9333) 2024-01-02 13:41:59 +00:00
ruff_linter [pylint] (Re-)Implement import-private-name (C2701) (#9553) 2024-01-16 14:03:11 -05:00
ruff_macros remove several uses of unsafe (#8600) 2023-11-28 09:50:03 -05:00
ruff_notebook Generate deterministic ids when formatting notebooks (#9359) 2024-01-04 09:19:00 -06:00
ruff_python_ast Move is_tuple_parenthesized from the formatter to ruff_python_ast (#9533) 2024-01-15 16:10:40 +00:00
ruff_python_codegen Remove source path from parser errors (#9322) 2023-12-30 20:33:05 +00:00
ruff_python_formatter Move is_tuple_parenthesized from the formatter to ruff_python_ast (#9533) 2024-01-15 16:10:40 +00:00
ruff_python_index Remove type parameter from parse_* methods (#9466) 2024-01-11 19:41:19 +01:00
ruff_python_literal Use Rust 1.75 toolchain (#9437) 2024-01-08 18:03:16 +01:00
ruff_python_parser Add an explicit fast path for whitespace to is_identifier_continuation (#9532) 2024-01-16 08:23:43 +00:00
ruff_python_resolver Use Rust 1.75 toolchain (#9437) 2024-01-08 18:03:16 +01:00
ruff_python_semantic [tryceratops] Add fix for error-instead-of-exception (TRY400) (#9520) 2024-01-16 03:00:04 +00:00
ruff_python_stdlib Add an explicit fast path for whitespace to is_identifier_continuation (#9532) 2024-01-16 08:23:43 +00:00
ruff_python_trivia Add an explicit fast path for whitespace to is_identifier_continuation (#9532) 2024-01-16 08:23:43 +00:00
ruff_shrinking Bump version to v0.1.13 (#9493) 2024-01-12 09:27:39 -05:00
ruff_source_file Add cell indexes to all diagnostics (#9387) 2024-01-04 14:02:23 +00:00
ruff_text_size Make all dependencies workspace dependencies (#9333) 2024-01-02 13:41:59 +00:00
ruff_wasm Make all dependencies workspace dependencies (#9333) 2024-01-02 13:41:59 +00:00
ruff_workspace Ignore preview status for fixable and unfixable selectors (#9538) 2024-01-15 21:48:41 -05:00