From 118c02c2730aaac2d10c2b9847339f6ffc83223f Mon Sep 17 00:00:00 2001 From: aktersnurra Date: Tue, 2 Jun 2020 22:49:22 +0200 Subject: Working on lab 1. --- .pre-commit-config.yaml | 19 +++++++++++++++++++ 1 file changed, 19 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..ea3565b --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,19 @@ +repos: +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v2.3.0 + hooks: + - id: check-yaml + - id: end-of-file-fixer + - id: trailing-whitespace +- repo: local + hooks: + - id: black + name: black + entry: poetry run black + language: system + types: [python] + - id: flake8 + name: flake8 + entry: poetry run flake8 + language: system + types: [python] -- cgit v1.2.3-70-g09d2