From 7453b51642a9562562198899dc0218cadba064a4 Mon Sep 17 00:00:00 2001 From: Usama Sadiq Date: Mon, 26 Feb 2024 19:16:53 +0500 Subject: [PATCH] build: exclude quality checks for python312 --- .github/workflows/ci.yml | 3 +++ submissions/errors.py | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b98bcd2..2f3724f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,6 +18,9 @@ jobs: toxenv: [ quality, docs, django42-drf314 ] + exclude: + - python-version: '3.12' + toxenv: 'quality' steps: - uses: actions/checkout@v2 diff --git a/submissions/errors.py b/submissions/errors.py index 263f191..25d0f3d 100644 --- a/submissions/errors.py +++ b/submissions/errors.py @@ -67,8 +67,8 @@ def __repr__(self): Show the field errors upon output. """ return ( - f'{self.__class__.__name__}' - f'(msg="{self.message}", field_errors={self.field_errors})' # pylint: disable=no-member + f'{self.__class__.__name__}' # pylint: disable=no-member + f'(msg="{self.message}", field_errors={self.field_errors})' )