A simple starter project for Python projects:
- Simple Package/Module structure
- Testing with pytest
- Linting with autopep8
- CI with Github Actions
- Clone the repository
- Create a virtual environment [optional]
- Install the requirements
pip install -r requirements.txt
- Run the project
python main.py
- Install mini conda
- Create a virtual environment
conda create -n <env_name> python=3.8
- Activate the virtual environment
conda activate <env_name>
In root of project run:
pytest
autopep8 --in-place --recursive .