Skip to content

Commit

Permalink
ci: pre-commit autoupdate (#116)
Browse files Browse the repository at this point in the history
* ci: pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.9 → v0.2.0](astral-sh/ruff-pre-commit@v0.1.9...v0.2.0)
- [github.com/psf/black: 23.12.1 → 24.1.1](psf/black@23.12.1...24.1.1)

* ci: auto fixes from pre-commit hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] committed Feb 6, 2024
1 parent c94a2ff commit 504b378
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Expand Up @@ -21,7 +21,7 @@ repos:
args: [--target-version, "3.2"]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.1.9"
rev: "v0.2.0"
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand All @@ -38,7 +38,7 @@ repos:
- id: mixed-line-ending

- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.1.1
hooks:
- id: black
name: Black
3 changes: 1 addition & 2 deletions django_bleach/tests/test_modelformfield.py
Expand Up @@ -96,8 +96,7 @@ def test_required_field(self):
self.assertEqual(self.form_field.required, True)


class CustomBleachedFormField(bleach_forms.BleachField):
...
class CustomBleachedFormField(bleach_forms.BleachField): ...


class OverriddenBleachContentModelForm(forms.ModelForm):
Expand Down

0 comments on commit 504b378

Please sign in to comment.