WhisperMusic / WhisperServer

0 stars 0 forks source link

Ruff linter: unnecessary warns `RUF012` #80

Closed soucelover closed 5 months ago

soucelover commented 5 months ago

Issue

Django framework often requires to create class attributes to store (mutable) lists of some data. Ruff linter always warns about that these attributes aren't notated as ClassVar but because of there are no hints about ClassVar attributes in Django stub files fix of these warnings will throw type checker errors about incompatible method overrides.

It's proposed to exclude this error code from Ruff linter code-set.