sbdchd / django-types

:doughnut: Type stubs for Django
MIT License
187 stars 62 forks source link

Enable remaining ruff rules #187

Closed hamdanal closed 1 year ago

hamdanal commented 1 year ago

This is the last PR of a series of PRs updating the project syntax using ruff (continuation of #185).

In this PR I activate the remaining two rules:

  1. other parameter to __eq__ method should always be annotated as object
  2. Quoting forward references (stringifing types) is unnecessary in stubs

This PR is fairly small compared to the previous ones

sbdchd commented 1 year ago

Thank you!