ruff/crates
Samuel Cormier-Iijima 1026ece946
E274: allow tab indentation before keyword (#9099)
## Summary

E274 currently flags any keyword at the start of a line indented with
tabs. This turns out to be due to a bug in `Whitespace::trailing` that
never considers any whitespace containing a tab as indentation.

## Test Plan

Added a simple test case.
2023-12-11 15:25:31 -05:00
..
flake8_to_ruff Bump version to v0.1.7 (#8999) 2023-12-04 16:28:23 -05:00
ruff_benchmark Bump ureq from 2.8.0 to 2.9.1 (#8993) 2023-12-04 09:53:25 -06:00
ruff_cache Update to Rust 1.74 and use new clippy lints table (#8722) 2023-11-16 18:12:46 -05:00
ruff_cli Bump version to v0.1.7 (#8999) 2023-12-04 16:28:23 -05:00
ruff_dev Update ruff-dev to use SourceKind (#8878) 2023-11-28 14:27:35 -06:00
ruff_diagnostics Update applicability messages for clarity in tests (#8541) 2023-11-07 16:11:43 +00:00
ruff_formatter remove several uses of unsafe (#8600) 2023-11-28 09:50:03 -05:00
ruff_index Update to Rust 1.74 and use new clippy lints table (#8722) 2023-11-16 18:12:46 -05:00
ruff_linter E274: allow tab indentation before keyword (#9099) 2023-12-11 15:25:31 -05:00
ruff_macros remove several uses of unsafe (#8600) 2023-11-28 09:50:03 -05:00
ruff_notebook Allow transparent cell magics (#8911) 2023-12-07 14:15:43 -06:00
ruff_python_ast Introduce StringLike enum (#9016) 2023-12-07 16:39:13 +00:00
ruff_python_codegen New AST nodes for f-string elements (#8835) 2023-12-07 10:28:05 -06:00
ruff_python_formatter ruff_python_formatter: add docstring-code-line-width internal setting (#9055) 2023-12-11 08:20:59 -05:00
ruff_python_index Update to Rust 1.74 and use new clippy lints table (#8722) 2023-11-16 18:12:46 -05:00
ruff_python_literal remove several uses of unsafe (#8600) 2023-11-28 09:50:03 -05:00
ruff_python_parser New AST nodes for f-string elements (#8835) 2023-12-07 10:28:05 -06:00
ruff_python_resolver Update to Rust 1.74 and use new clippy lints table (#8722) 2023-11-16 18:12:46 -05:00
ruff_python_semantic Allow matplotlib.use calls to intersperse imports (#9094) 2023-12-11 17:06:25 +00:00
ruff_python_stdlib Update to Rust 1.74 and use new clippy lints table (#8722) 2023-11-16 18:12:46 -05:00
ruff_python_trivia Update to Rust 1.74 and use new clippy lints table (#8722) 2023-11-16 18:12:46 -05:00
ruff_shrinking Bump version to v0.1.7 (#8999) 2023-12-04 16:28:23 -05:00
ruff_source_file remove several uses of unsafe (#8600) 2023-11-28 09:50:03 -05:00
ruff_text_size Update to Rust 1.74 and use new clippy lints table (#8722) 2023-11-16 18:12:46 -05:00
ruff_wasm Bump serde-wasm-bindgen from 0.6.1 to 0.6.3 (#9089) 2023-12-11 08:52:07 +00:00
ruff_workspace Add "preserve" quote-style to mimic Black's skip-string-normalization (#8822) 2023-12-07 23:59:22 +00:00