MKuranowski / aiocsv

Python: Asynchronous CSV reading/writing
https://pypi.org/project/aiocsv/
MIT License
67 stars 9 forks source link

mypy error on parser.py:220 #25

Closed hellocoldworld closed 4 months ago

hellocoldworld commented 6 months ago

mypy1.0.1 reports Invalid "type: ignore" comment [syntax] in the following line

https://github.com/MKuranowski/aiocsv/blob/d92c113d08ddfdfc34bbc760addc77d33a3cf4e9/aiocsv/parser.py#L220C1-L221C1

... maybe add the coloquial expression in a separate comment? Or investigate what is happenning further?

MKuranowski commented 6 months ago

If that's bothering you, feel free to open up a PR – PEP 484 says it should be # type: ignore # wtf, but this might not even be necessary now.