diff --git a/README.md b/README.md index 091a8a4..923f64b 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,7 @@ Add this to your `.pre-commit-config.yaml` - `end-of-file-fixer` - Makes sure files end in a newline and only a newline. - `fix-encoding-pragma` - Add `# -*- coding: utf-8 -*-` to the top of python files - `flake8` - Run flake8 on your python files. +- `prospector` - Run prospector on your python files. - `name-tests-test` - Assert that files in tests/ end in `_test.py`. - Use `args: ['--django']` to match `test*.py` instead. - `pyflakes` - Run pyflakes on your python files. diff --git a/hooks.yaml b/hooks.yaml index 08f01c5..79aa11c 100644 --- a/hooks.yaml +++ b/hooks.yaml @@ -129,6 +129,12 @@ entry: pyflakes language: python files: \.py$ +- id: prospector + name: Prospector + description: This hook runs prospector. + entry: prospector + language: python + files: \.py$ - id: requirements-txt-fixer name: Fix requirements.txt description: Sorts entries in requirements.txt