diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8804d3d..ee161e0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,6 +16,7 @@ repos: - id: check-toml - id: check-yaml - id: end-of-file-fixer + - id: no-commit-to-branch - id: trailing-whitespace - repo: https://github.com/asottile/reorder_python_imports rev: v2.3.6 diff --git a/README.md b/README.md index bd6b522..236123f 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) [![Maintainability](https://api.codeclimate.com/v1/badges/f3bad303efd4200ebee2/maintainability)](https://codeclimate.com/github/ChrisRBe/PP-P2P-Parser/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/f3bad303efd4200ebee2/test_coverage)](https://codeclimate.com/github/ChrisRBe/PP-P2P-Parser/test_coverage) +[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit) ## Overview