From e0eb6c8266ce78900b8a06fe4d4fca726bf33dc7 Mon Sep 17 00:00:00 2001
From: vtexier <vit@free.fr>
Date: Sat, 8 Jun 2019 09:37:06 +0200
Subject: [PATCH] [enh] #54 rename "black" command and stage to "format"

---
 .gitlab-ci.yml | 6 +++---
 Makefile       | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9408d80b..e3c5a5df 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,6 @@
 stages:
   - prepare
-  - black
+  - format
   - test
   - build
   - release
@@ -48,10 +48,10 @@ push_to_github:
       - setup.py
       - tests/**/*.py
 
-black:
+format:
   <<: *pyenv
   <<: *changes
-  stage: black
+  stage: format
   script:
     - pyenv shell 3.6.4  # black install and run needs python 3.6.x minimum
     - pip install -r requirements_dev.txt
diff --git a/Makefile b/Makefile
index d83c7c95..32d425e6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-.PHONY: docs tests check mypy pylint black
+.PHONY: docs tests check mypy pylint format
 
 # generate documentation
 docs:
@@ -9,7 +9,7 @@ tests:
 	python3 -m unittest ${TESTS_FILTER}
 
 # check
-check: mypy pylint black
+check: mypy pylint format
 
 # check static typing
 mypy:
@@ -20,5 +20,5 @@ pylint:
 	pylint --disable=C,R0913,R0903,R0902,R0914,R0912,R0915,W0613 --enable=C0121,C0202,C0321 --jobs=0 duniterpy/
 
 # format code
-black:
+format:
 	black duniterpy
-- 
GitLab