https://github.com/gvanderest/pylama-pre-commit
Hooks file for `pre-commit` integration.
https://github.com/gvanderest/pylama-pre-commit
hooks lint pre-commit pylama python
Last synced: about 1 year ago
JSON representation
Hooks file for `pre-commit` integration.
- Host: GitHub
- URL: https://github.com/gvanderest/pylama-pre-commit
- Owner: gvanderest
- Created: 2018-05-26T18:43:04.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-26T19:51:13.000Z (about 8 years ago)
- Last Synced: 2025-03-24T19:01:41.276Z (about 1 year ago)
- Topics: hooks, lint, pre-commit, pylama, python
- Language: Python
- Size: 1.95 KB
- Stars: 3
- Watchers: 1
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pylama pre-commit hooks
Want to use [pylama](https://github.com/klen/pylama) with [pre-commit](https://pre-commit.com/)?
So did I, but I wasn't able to find any hooks created to allow for it. Now this one does.. and it's worked for the small surface area I've tested so far.
## Installation
Once you've installed `pre-commit`:
```shell
pip install pre-commit
```
You should be able to edit your `.pre-commit-config.yaml` file to include the configuration from this repository:
```yaml
- repo: https://github.com/gvanderest/pylama-pre-commit
rev: 0.1.2
hooks:
- id: pylama
```