ruff/crates/ruff_python_stdlib/src
Bhuminjay Soni cfc64d1707
[syntax-errors]: future-feature-not-defined (F407) (#20554)
<!--
Thank you for contributing to Ruff/ty! To help us out with reviewing,
please consider the following:

- Does this pull request include a summary of the change? (See below.)
- Does this pull request include a descriptive title? (Please prefix
with `[ty]` for ty pull
  requests.)
- Does this pull request include references to any relevant issues?
-->

## Summary

<!-- What's the purpose of the change? What does it do, and why? -->

This PR implements
https://docs.astral.sh/ruff/rules/future-feature-not-defined/ (F407) as
a semantic syntax error.

## Test Plan

<!-- How was it tested? -->

I have written inline tests as directed in #17412

---------

Signed-off-by: 11happy <soni5happy@gmail.com>
2025-09-25 13:52:24 -04:00
..
sys python_stdlib: update for 3.14 (#18014) 2025-05-11 11:25:54 -05:00
builtins.rs [pyflakes] Fix false positives for __annotate__ (Py3.14+) and __warningregistry__ (F821) (#20154) 2025-09-23 08:16:00 -04:00
identifiers.rs Add an explicit fast path for whitespace to is_identifier_continuation (#9532) 2024-01-16 08:23:43 +00:00
keyword.rs [ruff] Implemented used-dummy-variable (RUF052) (#14611) 2024-12-03 08:36:16 +01:00
lib.rs [syntax-errors]: future-feature-not-defined (F407) (#20554) 2025-09-25 13:52:24 -04:00
logging.rs Fix logging rules with whitespace around dot (#6022) 2023-07-24 05:14:48 +00:00
open_mode.rs Use bitshift consistently for bitflag definitions (#14265) 2024-11-11 10:20:17 +00:00
path.rs Harmonise methods for distinguishing different Python source types (#13682) 2024-10-09 13:18:52 +00:00
str.rs Switch to Rust 2024 edition (#18129) 2025-05-16 13:25:28 +02:00
typing.rs Revert "Add all PEP-585 names to UP006 rule" (#15250) 2025-01-04 12:23:53 +01:00