astral
astral copied to clipboard
Mypy flags comment as invalid
Hi! Not here to nag you or ask for features, just wanted to ask if this error also occurs to the developers here when you run mypy against atral's code:
/astral/sun.py:450: error: Invalid "type: ignore" comment
Running mypy="0.971" and astral="^3.1". Thanks! https://github.com/sffjunkie/astral/blob/b805285654948c6513f378952aab685085efbad6/src/astral/sun.py#L447
Yes, upgrading to the latest version of astral broke our CI pipeline with
.venv/lib/python3.10/site-packages/astral/sun.py:447: error: Invalid "type: ignore" comment [syntax]