From 2fdf54f879843f859466a3e98dfc9230588c2d09 Mon Sep 17 00:00:00 2001 From: sco1 Date: Tue, 9 Jul 2019 21:05:41 -0400 Subject: Update linting dependencies Group up all flake8 plugins Add pre-commit & configuration Add pipenv aliases for pre-commit & flake8 Relock --- .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 00000000..28a51465 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,13 @@ +repos: +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v2.2.3 + hooks: + - id: flake8 + additional_dependencies: [ + "flake8-bandit", + "flake8-bugbear", + "flake8-docstrings", + "flake8-import-order ", + "flake8-string-format", + "flake8-tidy-imports" + ] \ No newline at end of file -- cgit v1.2.3