Add the `SIM300` lint (#11058)

``SIM300`` is 'yoda conditions' [0]. These have already been fixed in
this repo, but we might as well add the lint to prevent them being
inadvertently re-added.

[0]: https://github.com/MartinThoma/flake8-simplify#SIM300
This commit is contained in:
danieleades
2023-01-01 17:59:23 +00:00
committed by GitHub
parent 124bbce049
commit bd71d6e85a

View File

@@ -19,7 +19,6 @@ ignore =
SIM115,
SIM117,
SIM223,
SIM300,
SIM401,
SIM905,
SIM907,