From f6ef81ccc052902a7b8dfa33d24af5c70ac08657 Mon Sep 17 00:00:00 2001 From: Ben Date: Mon, 2 Mar 2020 17:30:51 +0100 Subject: add configuration for pre-commit, black and isort --- .pre-commit-config.yaml | 13 +++++++++++++ 1 file changed, 13 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..a099e48 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,13 @@ +repos: +- repo: https://github.com/timothycrosley/isort + rev: 4.3.21 + hooks: + - id: isort + language_version: python3.6 + additional_dependencies: + - toml +- repo: https://github.com/python/black + rev: 19.10b0 + hooks: + - id: black + language_version: python3.6 -- cgit v1.2.3