diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 00000000000..bb627986e0f --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,12 @@ +# https://pre-commit.com/ +# https://github.com/python/black#version-control-integration +repos: + - repo: https://github.com/python/black + rev: stable + hooks: + - id: black + language_version: python3.7 + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v2.2.3 + hooks: + - id: flake8