https://github.com/getindata/py-pre-commit-hooks
This is small repository that adds python based hooks for pre-commit
https://github.com/getindata/py-pre-commit-hooks
Last synced: 5 months ago
JSON representation
This is small repository that adds python based hooks for pre-commit
- Host: GitHub
- URL: https://github.com/getindata/py-pre-commit-hooks
- Owner: getindata
- License: apache-2.0
- Created: 2022-07-28T15:58:57.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-03-18T12:32:24.000Z (about 2 years ago)
- Last Synced: 2025-01-24T02:30:31.291Z (over 1 year ago)
- Size: 13.7 KB
- Stars: 3
- Watchers: 7
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Python pre-commit hooks
[](https://opensource.org/licenses/Apache-2.0)
## About
This is small repository that adds python based hooks for pre-commit.
[0.2.0] Moved from copy of docker image setup to reference of github action to stay up to date.
## Supported hooks
* [pyspelling-docker](https://github.com/rojopolis/spellcheck-github-actions)
This hook uses pyspelling in docker container. Supported languages: `[en, pl, de, fr, es]`. It looks for `.spellcheck.yml` config. In case it does not find it, it uses the default specified in this repository. Configure it using the [pyspelling configuration](https://facelessuser.github.io/pyspelling/configuration/). The only supported spellchecker right now is aspell.
## Example usage
Define in `.pre-commit-config.yaml`:
```yaml
- repo: https://github.com/getindata/py-pre-commit-hooks
rev: v0.2.0
hooks:
- id: pyspelling-docker
```