Skip to content

Python Template with some initial setups for code style and linting, as well as pre-commit checks

License

Notifications You must be signed in to change notification settings

FabianHoerst/python-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python 3.10 Code style: black Flake8 Status Repo Size

python-template

Python Template with some initial setups for code style and linting, as well as pre-commit checks. Flake8 is deactivated by default.

Setup

1.) Install all requirements initially from requirements file: pip install -r requirements.txt

2.) Change Size badge by adjusting repo path from badge: https://img.shields.io/github/repo-size/FabianHoerst/python-templateto https://img.shields.io/github/repo-size/YourName/RepoName

3.) Exchange Python badge with your version

Setup pre commits

1.) Install with: pre-commit install

Setup flake8 reports and badges

Run make generate_badge for generating report and badge. For help, see make. For checking before commiting, run make check_all.

About

Python Template with some initial setups for code style and linting, as well as pre-commit checks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published