olivier.massot 36d70f1bf0 ajoute un exemple de projet python avec CI gitlab %!s(int64=8) %!d(string=hai) anos
..
.gitignore 36d70f1bf0 ajoute un exemple de projet python avec CI gitlab %!s(int64=8) %!d(string=hai) anos
.gitlab.yml 36d70f1bf0 ajoute un exemple de projet python avec CI gitlab %!s(int64=8) %!d(string=hai) anos
README.md 36d70f1bf0 ajoute un exemple de projet python avec CI gitlab %!s(int64=8) %!d(string=hai) anos
__init__.py 36d70f1bf0 ajoute un exemple de projet python avec CI gitlab %!s(int64=8) %!d(string=hai) anos
hello_world.py 36d70f1bf0 ajoute un exemple de projet python avec CI gitlab %!s(int64=8) %!d(string=hai) anos
nose2.cfg 36d70f1bf0 ajoute un exemple de projet python avec CI gitlab %!s(int64=8) %!d(string=hai) anos
requirements.txt 36d70f1bf0 ajoute un exemple de projet python avec CI gitlab %!s(int64=8) %!d(string=hai) anos
test.py 36d70f1bf0 ajoute un exemple de projet python avec CI gitlab %!s(int64=8) %!d(string=hai) anos

README.md

Un script python hello_world.

hello_world.py: Script python, instancie une fonctionmain()` qui renvoie un message de salutations.

__init__.py : Fichier qui peut rester vide, mais nécessaire pour que le répertoire soit reconu comme une librairie python.

test.py : Contient les tests unitaires

nose2.cfg : (facultatif) configuration de nose2

Pour exécuter les tests, ouvrir une console (invite de commande):

Installer les librairies nécessaires:

pip install -r requirements.txt

Tests unitaires et couverture

nose2

Syntaxe

pylint