Skip to content

Commit

Permalink
build: exclude quality checks for python312
Browse files Browse the repository at this point in the history
  • Loading branch information
UsamaSadiq committed Feb 26, 2024
1 parent 8752e5b commit 7453b51
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jobs:
toxenv: [
quality, docs, django42-drf314
]
exclude:
- python-version: '3.12'
toxenv: 'quality'

steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions submissions/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -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})'
)


Expand Down

0 comments on commit 7453b51

Please sign in to comment.