[EDIT] ATTENTION : cette version publiée est incomplète et non fonctionnelle ! Attendre la 0.55.1 !
v0.55.0 (18th July 2019)
Code
- Refactor request
api.ws2p.headsinapi.bma.network.ws2p_heads(BMA command to get ws2p heads) - Fix bug in PubSec v1 secret key length check while loading
Checks
Pylint
- Add Pylint as a dev dependency to check code validity
- Add
pylintcommand to theMakefile - #91, !65: Apply Pylint on the code
Black
- #54: Add Black as dev dependency to format the code (not PEP8 compliant)
- Add
formatandcheck-formatcommands to theMakeFile - !63: Format the code with Black
Other
Makefile:checkcommand formypy,pylint, andcheck-formatchecks- #94: Apply Mypy, Pylint and Black on
testsandexamplesfolders
CI
- Add MyPy, Black, and Pylint jobs
- Rename
mypyjob tocheckwhich runmake check:mypy,pylint,check-format - Add
check-formatjob at the first stage
Build
- Add
buildcommand to the Makefile - Install build dependencies separately via a
requirements_deploy.txtfile - #98, !72: Do not include
testsfolder in the wheel package for PyPi distribution
CD
- Add
deployanddeploy_testcommands to the Makefile - #99, !74: Add job for PyPi test deployment
- !73: Trigger PyPi release job only on tag
- Move
github-syncstage in release stage as anafter-scriptstep - #100, !75: Use extends instead of Yaml anchors in
.gitlab-ci.yml(requires GitLab v12+) - Also trigger the pipeline when the
Makefilechanges
Project
- #96, !70: Add support for PEP 561 for DuniterPy type hints to be recognized by mypy when imported
- Remove not used
coverallsdependency
Thanks @Moul, @vtexier.
Nouvelle mouture de Duniterpy.
Seule nouveauté côté API, la commande BMA api.bma.network.ws2p_heads pour obtenir la branche majoritaire sur le réseau.
Le reste est un gros travail sur l’environnement de développement et l’intégration continue dans Gitlab.