diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6d3a68b..5126edb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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] @@ -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 diff --git a/django_bleach/tests/test_modelformfield.py b/django_bleach/tests/test_modelformfield.py index aa9d186..e2b0e02 100644 --- a/django_bleach/tests/test_modelformfield.py +++ b/django_bleach/tests/test_modelformfield.py @@ -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):