ruff/crates/ruff_linter/src
Brent Westbrook 997dc2e7cc
Some checks are pending
CI / Determine changes (push) Waiting to run
CI / cargo fmt (push) Waiting to run
CI / cargo clippy (push) Blocked by required conditions
CI / cargo test (linux) (push) Blocked by required conditions
CI / cargo test (linux, release) (push) Blocked by required conditions
CI / cargo test (windows) (push) Blocked by required conditions
CI / cargo test (wasm) (push) Blocked by required conditions
CI / cargo build (release) (push) Waiting to run
CI / cargo build (msrv) (push) Blocked by required conditions
CI / cargo fuzz build (push) Blocked by required conditions
CI / fuzz parser (push) Blocked by required conditions
CI / test scripts (push) Blocked by required conditions
CI / ecosystem (push) Blocked by required conditions
CI / Fuzz for new ty panics (push) Blocked by required conditions
CI / cargo shear (push) Blocked by required conditions
CI / python package (push) Waiting to run
CI / pre-commit (push) Waiting to run
CI / mkdocs (push) Waiting to run
CI / formatter instabilities and black similarity (push) Blocked by required conditions
CI / test ruff-lsp (push) Blocked by required conditions
CI / check playground (push) Blocked by required conditions
CI / benchmarks-instrumented (push) Blocked by required conditions
CI / benchmarks-walltime (push) Blocked by required conditions
[ty Playground] Release / publish (push) Waiting to run
Move JUnit rendering to ruff_db (#19370)
Summary
--

This PR moves the JUnit output format to the new rendering
infrastructure. As I
mention in a TODO in the code, there's some code that will be shared
with the
`grouped` output format. Hopefully I'll have that PR up too by the time
this one
is reviewed.

Test Plan
--

Existing tests moved to `ruff_db`

---------

Co-authored-by: Micha Reiser <micha@reiser.io>
2025-07-17 18:24:13 -04:00
..
checkers [flake8-use-pathlib] Add autofix for PTH109 (#19245) 2025-07-17 10:11:43 -04:00
comments
cst [ruff] Fix false positives and negatives in RUF010 (#18690) 2025-06-26 17:53:52 +02:00
docstrings [ty] AST garbage collection (#18482) 2025-06-13 08:40:11 -04:00
fix Rename Diagnostic::syntax_error methods, separate Ord implementation (#19179) 2025-07-08 09:54:19 -04:00
importer Treat form feed as valid whitespace before a semicolon (#19343) 2025-07-16 16:39:05 -04:00
linter [pylint] Detect more exotic NaN literals in PLW0177 (#18630) 2025-06-19 11:05:06 +00:00
message Move JUnit rendering to ruff_db (#19370) 2025-07-17 18:24:13 -04:00
registry Remove Message::to_rule (#18447) 2025-06-05 12:48:29 -04:00
rules [flake8-use-pathlib] Add autofix for PTH109 (#19245) 2025-07-17 10:11:43 -04:00
settings [flake8-type-checking, pyupgrade, ruff] Add from __future__ import annotations when it would allow new fixes (TC001, TC002, TC003, UP037, RUF013) (#19100) 2025-07-16 08:50:52 -04:00
snapshots [semantic-syntax-tests] IrrefutableCasePattern, SingleStarredAssignment, WriteToDebug, InvalidExpression (#17748) 2025-05-09 14:54:05 -04:00
codes.rs [flake8-use-pathlib] Add autofix for PTH109 (#19245) 2025-07-17 10:11:43 -04:00
directives.rs Switch to Rust 2024 edition (#18129) 2025-05-16 13:25:28 +02:00
doc_lines.rs [ty] AST garbage collection (#18482) 2025-06-13 08:40:11 -04:00
fs.rs Avoid generating diagnostics with per-file ignores (#18801) 2025-06-20 13:33:09 -04:00
lib.rs Combine OldDiagnostic and Diagnostic (#19053) 2025-07-03 13:01:09 -04:00
line_width.rs Switch to Rust 2024 edition (#18129) 2025-05-16 13:25:28 +02:00
linter.rs Rename Diagnostic::syntax_error methods, separate Ord implementation (#19179) 2025-07-08 09:54:19 -04:00
locator.rs Split SourceLocation into LineColumn and SourceLocation (#17587) 2025-04-27 11:27:33 +01:00
logging.rs Combine OldDiagnostic and Diagnostic (#19053) 2025-07-03 13:01:09 -04:00
noqa.rs Rename Diagnostic::syntax_error methods, separate Ord implementation (#19179) 2025-07-08 09:54:19 -04:00
package.rs
packaging.rs
preview.rs [flake8-use-pathlib] Add autofix for PTH109 (#19245) 2025-07-17 10:11:43 -04:00
pyproject_toml.rs Rename Diagnostic::syntax_error methods, separate Ord implementation (#19179) 2025-07-08 09:54:19 -04:00
registry.rs Apply fix availability and applicability when adding to DiagnosticGuard and remove NoqaCode::rule (#18834) 2025-06-24 10:08:36 -04:00
renamer.rs Add a ViolationMetadata::rule method (#18234) 2025-05-28 09:27:09 -04:00
rule_redirects.rs
rule_selector.rs Apply fix availability and applicability when adding to DiagnosticGuard and remove NoqaCode::rule (#18834) 2025-06-24 10:08:36 -04:00
source_kind.rs Update MSRV to 1.85 and toolchain to 1.87 (#18126) 2025-05-16 09:19:55 +02:00
test.rs Rename Diagnostic::syntax_error methods, separate Ord implementation (#19179) 2025-07-08 09:54:19 -04:00
text_helpers.rs
upstream_categories.rs
violation.rs Rename Diagnostic::syntax_error methods, separate Ord implementation (#19179) 2025-07-08 09:54:19 -04:00