diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a6f7f2d..a1f32ea 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,13 +1,13 @@ repos: - repo: https://github.com/psf/black - rev: 23.3.0 + rev: 24.10.0 hooks: - id: black - repo: https://github.com/pycqa/isort - rev: 5.12.0 + rev: 5.13.2 hooks: - id: isort - repo: https://github.com/pycqa/flake8 - rev: 6.0.0 + rev: 7.1.1 hooks: - id: flake8 \ No newline at end of file diff --git a/tests/test_layout_objects.py b/tests/test_layout_objects.py index 1ca8a12..6eec8de 100644 --- a/tests/test_layout_objects.py +++ b/tests/test_layout_objects.py @@ -275,7 +275,7 @@ def test_accordion_and_accordiongroup(self): assert parse_form(form) == parse_expected("accordion.html") def test_accordion_css_class_is_applied(self): - classes = 'one two three' + classes = "one two three" test_form = SampleForm() test_form.helper = FormHelper() test_form.helper.form_tag = False @@ -283,18 +283,17 @@ def test_accordion_css_class_is_applied(self): Accordion( AccordionGroup("one", "first_name"), css_class=classes, - css_id='super-accordion' + css_id="super-accordion", ) ) html = render_crispy_form(test_form) assert ( - html.count('