Fix `setup.cfg` so that the resulting `METADATA` when generating
wheels contains correctly (not split) `Requires-Dist` entries.
Before:
Provides-Extra: angle
Requires-Dist: kivy-deps.angle (~=0.3.0) ; extra == 'angle'
Requires-Dist: sys-platform (=="win32") ; extra == 'angle'
After:
Provides-Extra: angle
Requires-Dist: kivy-deps.angle (~=0.3.0) ; (sys_platform == "win32") and extra == 'angle'
The same goes for gstreamer, angle, sdl2, and glew.
* Add pre-commit hooks for basic standards conformity checking
* These should not be marked as executable
* These lack shebangs so marking them executable did not do anyone any good
* add pre-commit to dev requirements
* use pre-commit framework for the hook
* Move the pre-commit config outside of root
As discusses in https://github.com/kivy/kivy/pull/7176#discussion_r511240059
* Document that pre-commit is used and how to skip checks if needed
* Mark the old hook script as deprecated
* Fix failing coverage
* Fix PEP8
* format was not applied to the first string.
* Enable branch coverage by default.
* Update setup.cfg
* Update setup.cfg