From 11f6a42cc2576301327281cbdb4989695c376096 Mon Sep 17 00:00:00 2001 From: Tyler Kennedy Date: Tue, 18 Jun 2024 03:11:03 -0400 Subject: [PATCH] Add black and use on each test run --- .github/workflows/test.yml | 1 + pyproject.toml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6c16c96..e5aa795 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,4 +13,5 @@ jobs: with: use_poetry: true use_sphinx: true + use_black: true python_version: ${{ matrix.python-version }} \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index dc8d032..7b5465d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -36,7 +36,8 @@ Flask = ">=2.0" Babel = ">=2.12" Jinja2 = ">=3.1" -[tool.poetry.dev-dependencies] +[tool.poetry.group.dev.dependencies] +black = "^24.4.2" pytest = "^7.2.0" pytest-mock = "^3.10.0" bumpversion = "^0.6.0"