ruff/crates
Bhuminjay Soni 421f88bb32
Some checks are pending
CI / formatter instabilities and black similarity (push) Blocked by required conditions
CI / test ruff-lsp (push) Blocked by required conditions
CI / benchmarks walltime (small|large) (push) Blocked by required conditions
CI / cargo test (linux, release) (push) Blocked by required conditions
CI / cargo test (${{ github.repository == 'astral-sh/ruff' && 'depot-windows-2022-16' || 'windows-latest' }}) (push) Blocked by required conditions
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 (macos-latest) (push) Blocked by required conditions
CI / cargo test (wasm) (push) Blocked by required conditions
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 / ty completion evaluation (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 / check playground (push) Blocked by required conditions
CI / benchmarks instrumented (ruff) (push) Blocked by required conditions
CI / benchmarks instrumented (ty) (push) Blocked by required conditions
CI / benchmarks walltime (medium|multithreaded) (push) Blocked by required conditions
[ty Playground] Release / publish (push) Waiting to run
[refurb] Extend support for Path.open (FURB101, FURB103) (#21080)
## Summary

<!-- What's the purpose of the change? What does it do, and why? -->
This PR fixes https://github.com/astral-sh/ruff/issues/18409

## Test Plan

<!-- How was it tested? -->
I have added tests in FURB103.

---------

Signed-off-by: 11happy <soni5happy@gmail.com>
Signed-off-by: 11happy <bhuminjaysoni@gmail.com>
Co-authored-by: Brent Westbrook <brentrwestbrook@gmail.com>
2025-12-17 09:18:13 -05:00
..
ruff Update MSRV to 1.90 (#21987) 2025-12-15 14:29:11 +01:00
ruff_annotate_snippets Only render hyperlinks for terminals known to support them (#21519) 2025-11-19 10:02:58 +01:00
ruff_benchmark [ty] Infer typevar specializations for Callable types (#21551) 2025-12-16 09:16:49 -08:00
ruff_cache
ruff_db [ty] Remove legacy concise_message fallback behavior (#21847) 2025-12-08 16:19:01 +00:00
ruff_dev [ty] Use title for configuration code fences in ty reference documentation (#21992) 2025-12-15 16:36:08 -05:00
ruff_diagnostics Update debug_assert which pointed at missing method (#21969) 2025-12-13 17:56:59 -05:00
ruff_formatter Update MSRV to 1.90 (#21987) 2025-12-15 14:29:11 +01:00
ruff_graph [ty] Teach ty the meaning of desperation (try ancestor pyproject.tomls as search-paths if module resolution fails) (#21745) 2025-12-03 15:04:36 -05:00
ruff_index Update Rust toolchain to 1.88 and MSRV to 1.86 (#19011) 2025-06-28 20:24:00 +02:00
ruff_linter [refurb] Extend support for Path.open (FURB101, FURB103) (#21080) 2025-12-17 09:18:13 -05:00
ruff_macros Document when a rule was added (#21035) 2025-10-23 14:48:41 -04:00
ruff_memory_usage [ty] Enable LRU collection for parsed module (#21749) 2025-12-03 12:16:18 +01:00
ruff_notebook [ty] Respect notebook cell boundaries when adding an auto import (#21322) 2025-11-13 18:58:08 +01:00
ruff_options_metadata Update Rust toolchain to 1.89 (#19807) 2025-08-07 18:21:50 +02:00
ruff_python_ast Remove BackwardsTokenizer based parenthesized_range references in ruff_linter (#21836) 2025-12-11 13:04:57 +01:00
ruff_python_ast_integration_tests Add token based parenthesized_ranges implementation (#21738) 2025-12-03 08:15:17 +00:00
ruff_python_codegen Update MSRV to 1.90 (#21987) 2025-12-15 14:29:11 +01:00
ruff_python_formatter Fluent formatting of method chains (#21369) 2025-12-15 09:29:50 -06:00
ruff_python_importer Move Token, TokenKind and Tokens to ruff-python-ast (#21760) 2025-12-02 20:10:46 +01:00
ruff_python_index Move Token, TokenKind and Tokens to ruff-python-ast (#21760) 2025-12-02 20:10:46 +01:00
ruff_python_literal [pyupgrade] Fix parsing named Unicode escape sequences (UP032) (#21901) 2025-12-16 16:33:39 -05:00
ruff_python_parser [syntax-errors] Annotated name cannot be global (#20868) 2025-12-17 08:39:47 -05:00
ruff_python_semantic Add rule to detect unnecessary class properties (#21535) 2025-11-26 09:31:22 +01:00
ruff_python_stdlib [flake8-bugbear] Accept immutable slice default arguments (B008) (#21823) 2025-12-08 14:00:43 -05:00
ruff_python_trivia Handle t-string prefixes in SimpleTokenizer (#20578) 2025-09-25 14:33:37 -05:00
ruff_python_trivia_integration_tests Handle t-string prefixes in SimpleTokenizer (#20578) 2025-09-25 14:33:37 -05:00
ruff_server apply range suppressions to filter diagnostics (#21623) 2025-12-08 16:11:59 -08:00
ruff_source_file Use memchr for computing line indexes (#21838) 2025-12-08 08:50:51 -05:00
ruff_text_size [ty] Fix subtraction overflow bug 2025-11-21 15:07:37 -05:00
ruff_wasm Prepare 0.14.9 release (#21927) 2025-12-11 13:17:52 -08:00
ruff_workspace analyze: Add option to skip over imports in TYPE_CHECKING blocks (#21472) 2025-11-16 12:30:24 +00:00
ty [ty] Remove extra headings and split examples in the overrides configuration docs (#21994) 2025-12-16 06:57:06 -06:00
ty_combine [ty] Disallow std::env and io methods in most ty crates (#20046) 2025-08-22 11:13:47 -07:00
ty_completion_eval [ty] Update completion eval to include modules 2025-12-04 17:37:37 -05:00
ty_ide [ty] Improve rendering of default values for function args (#22010) 2025-12-16 13:39:19 -05:00
ty_project [ty] Remove extra headings and split examples in the overrides configuration docs (#21994) 2025-12-16 06:57:06 -06:00
ty_python_semantic [ty] Handle field specifier functions that accept **kwargs and recognize metaclass-based transformers as instances of DataclassInstance (#22018) 2025-12-17 14:22:16 +01:00
ty_server [ty] Improve rendering of default values for function args (#22010) 2025-12-16 13:39:19 -05:00
ty_static [ty] Document TY_CONFIG_FILE (#22001) 2025-12-16 13:15:24 +01:00
ty_test [ty] Remove legacy concise_message fallback behavior (#21847) 2025-12-08 16:19:01 +00:00
ty_vendored [ty] Carry generic context through when converting class into Callable (#21798) 2025-12-05 08:57:21 -05:00
ty_wasm [ty] Add code action to ignore diagnostic on the current line (#21595) 2025-11-29 15:41:54 +01:00