Browse Source

ref: enable optional redundant-self mypy code (#68718)

none of our code currently fails this

<!-- Describe your PR here. -->
anthony sottile 11 months ago
parent
commit
3c79ea6ec4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pyproject.toml

+ 1 - 1
pyproject.toml

@@ -64,7 +64,7 @@ warn_unreachable = true
 warn_unused_configs = true
 warn_unused_ignores = true
 warn_redundant_casts = true
-enable_error_code = ["ignore-without-code"]
+enable_error_code = ["ignore-without-code", "redundant-self"]
 
 [tool.django-stubs]
 django_settings_module = "sentry.conf.server_mypy"