foundationdb/.pre-commit-config.yaml
LukasMoll d5fb11eccb
Python pre-commit pipeline to enforce best practices. (#8181)
* Ãmade config files for black and flake8 pre-commit pipeline

* added documentation for pre-commit pipeline

* Mitigates tag change error

* removed black version in pre commit config

* Add E711 to the list of ignored flake8 errors

See #330

Co-authored-by: Lukas Molleman <Lukas.Molleman@gmail.com>
Co-authored-by: Andrew Noyes <andrew.noyes@snowflake.com>
2022-09-30 13:18:55 -07:00

9 lines
277 B
YAML

repos:
- repo: https://github.com/psf/black
rev: 2018e667a6a36ee3fbfa8041cd36512f92f60d49 # frozen: 22.8.0
hooks:
- id: black
- repo: https://github.com/pycqa/flake8
rev: f8e1b317742036ff11ff86356fd2b68147e169f7 # frozen: 5.0.4
hooks:
- id: flake8