From d7fff4730093f8d1cd051792af604ff55a504f09 Mon Sep 17 00:00:00 2001 From: Trim21 Date: Tue, 21 Jan 2020 10:19:28 +0800 Subject: [PATCH] add pre-commit support --- .pre-commit-hooks.yaml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .pre-commit-hooks.yaml diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml new file mode 100644 index 0000000..02a74d3 --- /dev/null +++ b/.pre-commit-hooks.yaml @@ -0,0 +1,6 @@ +- id: autoflake + name: autoflake + entry: autoflake + language: python + 'types': [python] + require_serial: true \ No newline at end of file