|
|
|
|
@ -3,9 +3,9 @@
|
|
|
|
|
|
|
|
|
|
 |
|
|
|
|
 |
|
|
|
|
 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
GestForm is a FizzBuzz like challenge 😁 |
|
|
|
|
GestForm is a FizzBuzz like challenge. |
|
|
|
|
|
|
|
|
|
In this test we need to : |
|
|
|
|
- From a random (not pseudo random ?) list of number between -1000 to 1000 |
|
|
|
|
@ -16,3 +16,35 @@ In this test we need to :
|
|
|
|
|
- else display the number |
|
|
|
|
|
|
|
|
|
All files must be provided to be checked. |
|
|
|
|
|
|
|
|
|
## How use it (Debian/Ubuntu) |
|
|
|
|
|
|
|
|
|
Create a venv |
|
|
|
|
``` |
|
|
|
|
python3 -m venv gestform |
|
|
|
|
cd gestform |
|
|
|
|
git clone https://gitlab.com/valbou2/GestForm |
|
|
|
|
source bin/activate |
|
|
|
|
cd GestForm |
|
|
|
|
python gestform.py |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
## How to test it (Debian/Ubuntu) |
|
|
|
|
|
|
|
|
|
Run tests from GestForm folder |
|
|
|
|
``` |
|
|
|
|
source ../bin/activate |
|
|
|
|
python -m unittest tests |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
## Information |
|
|
|
|
|
|
|
|
|
You can use requirements to show indent and PEP8 issues: |
|
|
|
|
``` |
|
|
|
|
source ../bin/activate |
|
|
|
|
pip install -r requirements.txt |
|
|
|
|
python -m black ./ |
|
|
|
|
python -m flake8 ./ |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
The project don't have dependencies to run. |
|
|
|
|
|