Repository navigation
[flake8-gettext] Resolve qualified names and built-in bindings (INT001, INT002, INT003) - #19045
Conversation
|
6a267e8 to
911adc3
Compare
flake8_gettext]: Make INTxxx rules also trigger on aliased importsflake8_gettext]: Expand scope of INTxxx rules
flake8_gettext]: Expand scope of INTxxx rulesflake8_gettext] Expand scope of INTxxx rules
CodSpeed Performance ReportMerging #19045 will not alter performanceComparing Summary
Footnotes
|
911adc3 to
f6fdd46
Compare
f6fdd46 to
eec7743
Compare
ntBre
left a comment
There was a problem hiding this comment.
Thanks, this looks good to me! Just a couple of small nits and the merge conflicts, if you don't mind resolving those.
|
@robsdedude do you think you get a chance to resolve the merge conflicts or would you prefer us to resolve them? |
Co-authored-by: Brent Westbrook <[email protected]>
|
Ok, this should be good for another review now. Sorry for the long wait. Life got in the way ;) |
flake8_gettext] Expand scope of INTxxx rulesflake8-gettext] Resolve qualified names and built-in bindings (INT001, INT002, INT003)
…lution (`INT001`, `INT002`, `INT003`) Preview feature: #19045 Rule documentation: - https://docs.astral.sh/ruff/rules/f-string-in-get-text-func-call/ - https://docs.astral.sh/ruff/rules/format-in-get-text-func-call/ - https://docs.astral.sh/ruff/rules/printf-in-get-text-func-call/
…lution (`INT001`, `INT002`, `INT003`) Preview feature: #19045 Rule documentation: - https://docs.astral.sh/ruff/rules/f-string-in-get-text-func-call/ - https://docs.astral.sh/ruff/rules/format-in-get-text-func-call/ - https://docs.astral.sh/ruff/rules/printf-in-get-text-func-call/
…lution (`INT001`, `INT002`, `INT003`) Preview feature: #19045 Rule documentation: - https://docs.astral.sh/ruff/rules/f-string-in-get-text-func-call/ - https://docs.astral.sh/ruff/rules/format-in-get-text-func-call/ - https://docs.astral.sh/ruff/rules/printf-in-get-text-func-call/
…lution (`INT001`, `INT002`, `INT003`) (#26947) Preview feature: #19045 Rule documentation: - https://docs.astral.sh/ruff/rules/f-string-in-get-text-func-call/ - https://docs.astral.sh/ruff/rules/format-in-get-text-func-call/ - https://docs.astral.sh/ruff/rules/printf-in-get-text-func-call/
…lution (`INT001`, `INT002`, `INT003`) (#26947) Preview feature: #19045 Rule documentation: - https://docs.astral.sh/ruff/rules/f-string-in-get-text-func-call/ - https://docs.astral.sh/ruff/rules/format-in-get-text-func-call/ - https://docs.astral.sh/ruff/rules/printf-in-get-text-func-call/
…lution (`INT001`, `INT002`, `INT003`) (#26947) Preview feature: #19045 Rule documentation: - https://docs.astral.sh/ruff/rules/f-string-in-get-text-func-call/ - https://docs.astral.sh/ruff/rules/format-in-get-text-func-call/ - https://docs.astral.sh/ruff/rules/printf-in-get-text-func-call/
…lution (`INT001`, `INT002`, `INT003`) (#26947) Preview feature: #19045 Rule documentation: - https://docs.astral.sh/ruff/rules/f-string-in-get-text-func-call/ - https://docs.astral.sh/ruff/rules/format-in-get-text-func-call/ - https://docs.astral.sh/ruff/rules/printf-in-get-text-func-call/
…lution (`INT001`, `INT002`, `INT003`) (#26947) Preview feature: #19045 Rule documentation: - https://docs.astral.sh/ruff/rules/f-string-in-get-text-func-call/ - https://docs.astral.sh/ruff/rules/format-in-get-text-func-call/ - https://docs.astral.sh/ruff/rules/printf-in-get-text-func-call/
Summary
Make rules
INT001,INT002, andINT003alsogettextmodule. For examplebuiltinsbindingsFixes: #19028
Test Plan
Tests have been added to all three rules.