Просмотр исходного кода

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

none of our code currently fails this

<!-- Describe your PR here. -->
anthony sottile 11 месяцев назад
Родитель
Сommit
3c79ea6ec4
1 измененных файлов с 1 добавлено и 1 удалено
  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"