Thanks to visit codestin.com
Credit goes to github.com

Skip to content

🔧 Remove dead per-file-ignores entries for removed Python 3.9 tutorial files#15586

Closed
AshNicolus wants to merge 1 commit into
fastapi:masterfrom
AshNicolus:chore/cleanup-dead-per-file-ignores
Closed

🔧 Remove dead per-file-ignores entries for removed Python 3.9 tutorial files#15586
AshNicolus wants to merge 1 commit into
fastapi:masterfrom
AshNicolus:chore/cleanup-dead-per-file-ignores

Conversation

@AshNicolus

Copy link
Copy Markdown
Contributor

Summary

This is a config-only cleanup. Ruff silently ignores per-file rules whose paths don't exist, so behavior is unchanged; the section now only lists ignores that actually apply (41 entries → 21).

Test plan

  • ruff check fastapi tests docs_src scripts output is identical before and after the change.
  • No source files modified — only pyproject.toml.

The per-file-ignores in pyproject.toml still referenced docs_src/**/*_py39.py
files that were removed in fastapi#14931, plus one stray
docs_src/dependencies/tutorial009_py310.py entry whose file was removed in
fastapi#14559. Drop the orphaned entries so the section only lists ignores that
actually apply.

No behavior change — ruff silently skipped these entries because the files
do not exist.
@github-actions

Copy link
Copy Markdown
Contributor

This PR modifies dependency files (pyproject.toml or uv.lock), which is restricted to members of the fastapi organization on GitHub.

If you need a dependency change, please open a discussion describing what you need and why.

Closing this PR automatically.

@github-actions github-actions Bot closed this May 22, 2026
@codspeed-hq

codspeed-hq Bot commented May 22, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 20 untouched benchmarks


Comparing AshNicolus:chore/cleanup-dead-per-file-ignores (88c8ec3) with master (973230c)1

Open in CodSpeed

Footnotes

  1. No successful run was found on master (4f37a43) during the generation of this report, so 973230c was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant