5 Jan
2019
5 Jan
'19
11:51 p.m.
On 1/5/19 12:34 AM, Ivan Levkivskyi wrote:
There is. Mypy supports final names, final methods and whatnot https://mypy.readthedocs.io/en/latest/final_attrs.html
Believe this^^ is the best answer, unfortunately buried. Use typing hints for constants and tools that support them, and all-caps is no longer needed. An additional sentence that mentions this as an alternative in PEP8 sounds useful. -Mike