From 9d0bc54b0780386f3879e62b73933936337402a9 Mon Sep 17 00:00:00 2001 From: 0xArty Date: Fri, 14 Apr 2023 19:29:21 +0100 Subject: [PATCH] added pre-commit formatting --- .pre-commit-config.yaml | 6 ++++++ requirements.txt | 1 + 2 files changed, 7 insertions(+) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 00000000..62b06d7b --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,6 @@ +repos: +- repo: https://github.com/psf/black + rev: 21.12b0 + hooks: + - id: black + language_version: python3 \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 3f7fd228..9eea6873 100644 --- a/requirements.txt +++ b/requirements.txt @@ -18,3 +18,4 @@ Pillow coverage flake8 numpy +pre-commit \ No newline at end of file