Développez un programme logiciel en Python
clone repository locally
git clone https://github.com/nasr-edine/P4_drai_nasr-edine.git
Create a virtual environment in root folder of project
python -m venv env
Activate virtual environment
source ./env/bin/activate
Install dependencies
pip3 install -r requirements.txt
execute the python script below for starting the chess game management software:
python main.py
.
├── main.py # python file for run the chess game management software
├── model/ # The central component of the pattern.
├── view/ # Any representation of information
├── controller/ # Accepts input and converts it to commands for the model or view
├── flake-report/ # generating HTML reports of flake8 violations
├── db.json # Content list of all players and tournaments created by the script
├── requirements.txt # for install all dependencies necessary for this project
└── README.md
To generate flake8 report, type command below
⚠️ If you use this command: exclude virtual environment from flake8
flake8 --format=html --htmldir=flake-report --exclude=env
-
open flake-report/index.html file with your browser
-
click on the link below to consult the last report:
flake8 main.py controller model view