How can mypy ignore a single line in a source file?
Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn
--
Track title: CC H Dvoks String Quartet No 12 Ame
--
Chapters
00:00 Question
01:09 Accepted answer (Score 287)
01:42 Answer 2 (Score 33)
02:05 Answer 3 (Score 10)
02:52 Answer 4 (Score 0)
03:12 Thank you
--
Full question
https://stackoverflow.com/questions/4922...
Question links:
[mypy]: http://mypy-lang.org/
[recommended import mechanism from the PyYAML documentation]: http://pyyaml.org/wiki/PyYAMLDocumentati...
Accepted answer links:
[version 0.2]: https://github.com/python/mypy/commit/c0...
[#500, Ignore specific lines]: https://github.com/python/mypy/issues/50...
[PEP 484]: https://www.python.org/dev/peps/pep-0484/
[mypy#500]: https://github.com/python/mypy/issues/50...
[mypy documentation]: https://mypy.readthedocs.io/en/stable/co...
Answer 2 links:
[Gvanrossum comment]: https://github.com/python/mypy/issues/62...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #types #mypy
#avk47
--
Track title: CC H Dvoks String Quartet No 12 Ame
--
Chapters
00:00 Question
01:09 Accepted answer (Score 287)
01:42 Answer 2 (Score 33)
02:05 Answer 3 (Score 10)
02:52 Answer 4 (Score 0)
03:12 Thank you
--
Full question
https://stackoverflow.com/questions/4922...
Question links:
[mypy]: http://mypy-lang.org/
[recommended import mechanism from the PyYAML documentation]: http://pyyaml.org/wiki/PyYAMLDocumentati...
Accepted answer links:
[version 0.2]: https://github.com/python/mypy/commit/c0...
[#500, Ignore specific lines]: https://github.com/python/mypy/issues/50...
[PEP 484]: https://www.python.org/dev/peps/pep-0484/
[mypy#500]: https://github.com/python/mypy/issues/50...
[mypy documentation]: https://mypy.readthedocs.io/en/stable/co...
Answer 2 links:
[Gvanrossum comment]: https://github.com/python/mypy/issues/62...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #types #mypy
#avk47