From 1e9ed7db9489ddcc8238655e9235f5cca99b0adf Mon Sep 17 00:00:00 2001 From: Stavros Korokithakis Date: Thu, 6 Dec 2018 05:06:18 +0200 Subject: Initial commit --- .pre-commit-config.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .pre-commit-config.yaml (limited to '.pre-commit-config.yaml') diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..511cdae --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,20 @@ +repos: +- repo: https://github.com/ambv/black + rev: 18.9b0 + hooks: + - id: black + args: [--line-length=120] +- repo: git://github.com/doublify/pre-commit-isort + rev: v4.3.0 + hooks: + - id: isort +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v2.0.0 + hooks: + - id: flake8 + additional_dependencies: [flake8~=3.6.0] +- repo: git://github.com/skorokithakis/pre-commit-mypy + rev: v0.610 + hooks: + - id: mypy + args: [-s] -- cgit v1.2.3-54-g00ecf