From 0ff40d39cec7520d43c41869ea78a46e9ac40a87 Mon Sep 17 00:00:00 2001 From: Nico Trummer Date: Sun, 28 Jan 2024 11:24:17 +0000 Subject: [PATCH] Add black style checking --- .github/workflows/test.yml | 3 +++ requirements.txt | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index df130db..c562e56 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,3 +29,6 @@ jobs: - name: Run tests with coverage run: pytest + - name: Check code style with black + run: black --check . + diff --git a/requirements.txt b/requirements.txt index 6f21dfb..1f012d7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,5 @@ pydot pytest pytest-cov -numpy \ No newline at end of file +numpy +black \ No newline at end of file