python / mypy

Optional static typing for Python
https://www.mypy-lang.org/
Other
18.55k stars 2.84k forks source link

Move static project metadata to pyproject.toml #18146

Closed cdce8p closed 1 week ago

cdce8p commented 2 weeks ago

Setuptools supports using setup.py and pyproject.toml simultaneously. This PR moves most of the static project metadata to pyproject.toml.

Diff for .dist-info/METADATA

 Metadata-Version: 2.1
 Name: mypy
 Version: 1.14.0+dev
 Summary: Optional static typing for Python
-Home-page: https://www.mypy-lang.org/
+Author-email: Jukka Lehtosalo <jukka.lehtosalo@iki.fi>
-Author: Jukka Lehtosalo
-Author-email: jukka.lehtosalo@iki.fi
 License: MIT
+Project-URL: Homepage, https://www.mypy-lang.org/
 Project-URL: Documentation, https://mypy.readthedocs.io/en/stable/index.html
 ...

dist-info/RECORD is the same (except for the changed hash for .dist-info/METADATA).

https://packaging.python.org/en/latest/specifications/core-metadata/

github-actions[bot] commented 2 weeks ago

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅