[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.heads
inapi.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
pylint
command to theMakefile
- #91, !65: Apply Pylint on the code
Black
- #54: Add Black as dev dependency to format the code (not PEP8 compliant)
- Add
format
andcheck-format
commands to theMakeFile
- !63: Format the code with Black
Other
Makefile
:check
command formypy
,pylint
, andcheck-format
checks- #94: Apply Mypy, Pylint and Black on
tests
andexamples
folders
CI
- Add MyPy, Black, and Pylint jobs
- Rename
mypy
job tocheck
which runmake check
:mypy
,pylint
,check-format
- Add
check-format
job at the first stage
Build
- Add
build
command to the Makefile - Install build dependencies separately via a
requirements_deploy.txt
file - #98, !72: Do not include
tests
folder in the wheel package for PyPi distribution
CD
- Add
deploy
anddeploy_test
commands to the Makefile - #99, !74: Add job for PyPi test deployment
- !73: Trigger PyPi release job only on tag
- Move
github-sync
stage in release stage as anafter-script
step - #100, !75: Use extends instead of Yaml anchors in
.gitlab-ci.yml
(requires GitLab v12+) - Also trigger the pipeline when the
Makefile
changes
Project
- #96, !70: Add support for PEP 561 for DuniterPy type hints to be recognized by mypy when imported
- Remove not used
coveralls
dependency
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.