-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Docs: tweak rules documentation #14180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
097ff87
to
6ae86fa
Compare
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Overall this is great!
crates/ruff_linter/src/rules/flake8_bugbear/rules/getattr_with_constant.rs
Outdated
Show resolved
Hide resolved
crates/ruff_linter/src/rules/flake8_pyi/rules/quoted_annotation_in_stub.rs
Outdated
Show resolved
Hide resolved
crates/ruff_linter/src/rules/flake8_type_checking/rules/empty_type_checking_block.rs
Outdated
Show resolved
Hide resolved
...es/ruff_linter/src/rules/flake8_type_checking/rules/runtime_import_in_type_checking_block.rs
Outdated
Show resolved
Hide resolved
crates/ruff_linter/src/rules/flake8_type_checking/rules/typing_only_runtime_import.rs
Outdated
Show resolved
Hide resolved
crates/ruff_linter/src/rules/flake8_type_checking/rules/typing_only_runtime_import.rs
Outdated
Show resolved
Hide resolved
crates/ruff_linter/src/rules/flake8_type_checking/rules/typing_only_runtime_import.rs
Outdated
Show resolved
Hide resolved
crates/ruff_linter/src/rules/pyupgrade/rules/unnecessary_default_type_args.rs
Outdated
Show resolved
Hide resolved
crates/ruff_linter/src/rules/pyupgrade/rules/unnecessary_default_type_args.rs
Outdated
Show resolved
Hide resolved
crates/ruff_linter/src/rules/flake8_annotations/rules/definition.rs
Outdated
Show resolved
Hide resolved
6ae86fa
to
36c2e97
Compare
Thanks for the quick comments @AlexWaygood |
36c2e97
to
d4677e7
Compare
crates/ruff_linter/src/rules/flake8_type_checking/rules/typing_only_runtime_import.rs
Outdated
Show resolved
Hide resolved
d4677e7
to
e0912bb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks great! Just two more nits:
crates/ruff_linter/src/rules/flake8_bandit/rules/suspicious_imports.rs
Outdated
Show resolved
Hide resolved
crates/ruff_linter/src/rules/flake8_annotations/rules/definition.rs
Outdated
Show resolved
Hide resolved
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Summary
Found these while experimenting with the categorisation:
https://peps.python.org/
instead ofhttps://www.python.org/dev/
)PEP [code] - [page title]
PEP [code]: [section title]