This project is used to manage chess tournaments. You start by creating players and then tournaments. You then ‘play’ a tournament to register players and launch the match generator. All that remains is to enter the Win/Loss results of each match to determine a winner. The manager can also generate tournament reports.
This project uses flake8 to analyse Python code and generate an HTML report of style errors and warnings.
├── Main.py
├── controllers/
├── data/
├── flake8_rapport
├── models/
├── venv/
├── views/
└── run_flake8.py └── main.py
- Python 3.x
- pip
- virtualenv
-
Open a terminal or command prompt.
-
Navigate to your project directory :
cd your\path\echecs
-
Create a virtual environment :
python -m venv venv
-
Activate the virtual environment:
source venv/bin/activate
With the virtual environment enabled, install flake8 and flake8-html :
```bash
pip install flake8 flake8-html
```
```bash
python run_flake8.py
```