djangorestframework-stubs icon indicating copy to clipboard operation
djangorestframework-stubs copied to clipboard

Use explicit mypy error codes in ignore comments and output

Open intgr opened this issue 2 years ago • 1 comments

  • Adds mypy error codes to output (affects tests)
  • Requires explicit error codes in # type: ignore comments, e.g. type: ignore[assignment]
  • Enables suppressed Ruff lint PGH003.

Related issues

  • Follow-up to #496
  • Related: https://github.com/typeddjango/django-stubs/pull/1773

intgr avatar Oct 22 '23 22:10 intgr

Draft because #496 should be merged first.

intgr avatar Oct 22 '23 22:10 intgr