'mypy command line option stricter than --strict

I have the following code in test.py

x = 1

Does there exist an option in mypy to force definition of type hints for all variables? --strict is nice, but it allows an expression like the one above.

Is there anything stricter than --strict?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source