ruff/crates
Charlie Marsh cbe3bf9bde
Avoid asyncio-dangling-task violations on shadowed bindings (#9215)
## Summary

Ensures that we avoid flagging cases like:

```python
async def f(x: int):
    if x > 0:
        task = asyncio.create_task(make_request())
    else:
        task = asyncio.create_task(make_request())
    await task
```

Closes https://github.com/astral-sh/ruff/issues/9133.
2023-12-20 12:07:57 -05:00
..
flake8_to_ruff Bump version to v0.1.8 (#9116) 2023-12-13 13:19:51 -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 Update format.rs to display correct message for already formatted files (#9153) 2023-12-18 00:07:21 -05:00
ruff_dev Update ruff-dev to use SourceKind (#8878) 2023-11-28 14:27:35 -06:00
ruff_diagnostics Enable annotation quoting for multi-line expressions (#9142) 2023-12-15 01:03:09 +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 Avoid asyncio-dangling-task violations on shadowed bindings (#9215) 2023-12-20 12:07:57 -05:00
ruff_macros remove several uses of unsafe (#8600) 2023-11-28 09:50:03 -05:00
ruff_notebook Prevent invalid utf8 indexing in cell magic detection (#9146) 2023-12-15 08:15:46 -06:00
ruff_python_ast Add support for NoReturn in auto-return-typing (#9206) 2023-12-20 00:06:31 -05:00
ruff_python_codegen Add as_slice method for all string nodes (#9111) 2023-12-13 06:31:20 +00:00
ruff_python_formatter Implement no_blank_line_before_class_docstring preview style (#9154) 2023-12-19 00:43:20 -06: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 release: switch to Cargo's default (#9031) 2023-12-15 08:19:35 -05: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 removal of typing from exempt-modules (#9214) 2023-12-20 11:03:02 -05: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.8 (#9116) 2023-12-13 13:19:51 -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 wasm-bindgen-test from 0.3.38 to 0.3.39 (#9181) 2023-12-18 09:04:31 +00:00
ruff_workspace [pylint] Implement too-many-locals (PLR0914) (#9163) 2023-12-18 20:00:04 +00:00