ruff
c324cb62 - [`pep8-naming`] Allow Django model loads in `non-lowercase-variable-in-function` (`N806`) (#8917)

Commit
2 years ago
[`pep8-naming`] Allow Django model loads in `non-lowercase-variable-in-function` (`N806`) (#8917) ## Summary Allows assignments of the form, e.g., `Attachment = apps.get_model("zerver", "Attachment")`, for better compatibility with Django. Closes https://github.com/astral-sh/ruff/issues/7675. ## Test Plan `cargo test`
Author
Parents
Loading