Following recent discussions, this changes the development process as follows:
1. The deploy is now manually triggered after the release PR is approved.
2. The deploy workflow tags the repository only after the package has been published to PyPI.
3. Use PyPI trusted publishers instead of API tokens.
Co-authored-by: Ran Benita <ran@unusedvar.com>
Also:
* Configure flake8 to ignore formatting-related problems (let black worry about them).
* Fix reference to Python 3.10 in CI,
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
* drop empty setup.py which "breaks" on incomplete build envs
* use the build package to build the dist
* update the gh workflow to use it
fixup noise from pre-commit