Ver a proveniência

Enable 'strict_equality' checking for mypy (#14452)

tags/v1.73.0rc1
Andrew Morgan há 1 ano
committed by GitHub
ascendente
cometimento
ae22e6e94f
Não foi encontrada uma chave conhecida para esta assinatura, na base de dados ID da chave GPG: 4AEE18F83AFDEB23
2 ficheiros alterados com 2 adições e 0 eliminações
  1. +1
    -0
      changelog.d/14452.misc
  2. +1
    -0
      mypy.ini

+ 1
- 0
changelog.d/14452.misc Ver ficheiro

@@ -0,0 +1 @@
Enable mypy's [`strict_equality` check](https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-strict-equality) by default.

+ 1
- 0
mypy.ini Ver ficheiro

@@ -11,6 +11,7 @@ warn_unused_ignores = True
local_partial_types = True
no_implicit_optional = True
disallow_untyped_defs = True
strict_equality = True

files =
docker/,


Carregando…
Cancelar
Guardar