From 6fa4c021c8b1cec27ccd8c900c0ddea7faab91bb Mon Sep 17 00:00:00 2001 From: Yonatan Bitton Date: Thu, 13 Jul 2023 18:50:54 +0300 Subject: [PATCH] Add pre-commit hooks file for com2ann tool (#55) --- .gitignore | 1 + .pre-commit-hooks.yaml | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 .pre-commit-hooks.yaml diff --git a/.gitignore b/.gitignore index 72364f9..4f6813f 100644 --- a/.gitignore +++ b/.gitignore @@ -87,3 +87,4 @@ ENV/ # Rope project settings .ropeproject +.idea diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml new file mode 100644 index 0000000..a88c432 --- /dev/null +++ b/.pre-commit-hooks.yaml @@ -0,0 +1,6 @@ +- id: com2ann + name: com2ann + entry: com2ann + language: python + types: [ file ] + files: .*\.(py|pyi|md|rst) \ No newline at end of file