Does an equivalent linter exist for Python, or for Golang, or for Scala? I'm sold, it would be great to have something like this.
EDIT:
- pylint: using-constant-test (W0125) https://docs.pylint.org/features.html#id13
- golangci-lint: revive's constant-logical-expression https://golangci-lint.run/usage/linters/#revive