From 654380f2757e95acfa5c4a1eb78b575d964774be Mon Sep 17 00:00:00 2001 From: Brian Kohan Date: Fri, 22 Dec 2023 02:25:10 -0800 Subject: [PATCH] add black check to static analysis --- .github/workflows/test.yml | 1 + django_typer/__init__.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 23db593..4f18c21 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -39,6 +39,7 @@ jobs: poetry run pip install -U "${{ matrix.django-version }}" - name: Run Static Analysis run: | + poetry run black django_typer --check poetry run pylint django_typer poetry run mypy django_typer poetry run doc8 -q doc diff --git a/django_typer/__init__.py b/django_typer/__init__.py index 8a69610..a2b21cc 100644 --- a/django_typer/__init__.py +++ b/django_typer/__init__.py @@ -92,7 +92,6 @@ def __init__( class DjangoAdapterMixin: # pylint: disable=too-few-public-methods - context_class: Type[click.Context] = Context def __init__(