Skip to content

felipelaptrin/python-pre-commit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Summary

Basically, a repository with hooks pre-commit using:

  • Black: A Python code formatter
  • Flake8: A code checker for your Python code
  • isort: A Python library for sorting imports

Config files

  • .pre-commit-config.yaml: Used to configure pre-commit hooks. There are much more hooks that can be added.
  • pyproject.toml: Settings for black and isort parameters.
  • .flake8: Settings for flake8.

Notes

The settings made here are not 100% in compliance with PEP8. I personally think that 79 characters for a line length are not enough and rather use 100 instead.

About

To start a Python project the right way!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published