Skip to content

Comments

[pep8-naming] Add links to ignore-names options in various rules' documentation#16557

Merged
ntBre merged 1 commit intoastral-sh:mainfrom
InSyncWithFoo:N8
Mar 7, 2025
Merged

[pep8-naming] Add links to ignore-names options in various rules' documentation#16557
ntBre merged 1 commit intoastral-sh:mainfrom
InSyncWithFoo:N8

Conversation

@InSyncWithFoo
Copy link
Contributor

Summary

Resolves #16551.

All rules using lint.pep8-naming.ignore-names and lint.pep8-naming.extend-ignore-names now have their documentation linked to these two options.

Test Plan

None.

…t.pep8-naming.extend-ignore-names` in various rules' documentation
@github-actions
Copy link
Contributor

github-actions bot commented Mar 7, 2025

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@ntBre ntBre added the documentation Improvements or additions to documentation label Mar 7, 2025
Copy link
Contributor

@ntBre ntBre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks for jumping on this! I scrolled down and double-checked that each of the rules actually inspects the options too.

@ntBre ntBre merged commit a18d8bf into astral-sh:main Mar 7, 2025
21 checks passed
@InSyncWithFoo InSyncWithFoo deleted the N8 branch March 7, 2025 20:02
dcreager added a commit that referenced this pull request Mar 8, 2025
* main:
  [red-knot] Understand `typing.Callable` (#16493)
  [red-knot] Support unpacking `with` target (#16469)
  [red-knot] Attribute access and the descriptor protocol (#16416)
  [`pep8-naming`] Add links to `ignore-names` options in various rules' documentation (#16557)
  [red-knot] avoid inferring types if unpacking fails (#16530)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow custom exceptions to N806, N815, N816

2 participants