mirror of
https://github.com/django-components/django-components.git
synced 2025-09-22 21:52:26 +00:00
refactor: replace isort, black and flake8 with ruff (#1346)
Some checks are pending
Docs - build & deploy / docs (push) Waiting to run
Run tests / build (ubuntu-latest, 3.10) (push) Waiting to run
Run tests / build (ubuntu-latest, 3.11) (push) Waiting to run
Run tests / build (ubuntu-latest, 3.12) (push) Waiting to run
Run tests / build (ubuntu-latest, 3.13) (push) Waiting to run
Run tests / build (ubuntu-latest, 3.8) (push) Waiting to run
Run tests / test_sampleproject (3.13) (push) Waiting to run
Run tests / build (ubuntu-latest, 3.9) (push) Waiting to run
Run tests / build (windows-latest, 3.10) (push) Waiting to run
Run tests / build (windows-latest, 3.11) (push) Waiting to run
Run tests / build (windows-latest, 3.12) (push) Waiting to run
Run tests / build (windows-latest, 3.13) (push) Waiting to run
Run tests / build (windows-latest, 3.8) (push) Waiting to run
Run tests / build (windows-latest, 3.9) (push) Waiting to run
Run tests / test_docs (3.13) (push) Waiting to run
Some checks are pending
Docs - build & deploy / docs (push) Waiting to run
Run tests / build (ubuntu-latest, 3.10) (push) Waiting to run
Run tests / build (ubuntu-latest, 3.11) (push) Waiting to run
Run tests / build (ubuntu-latest, 3.12) (push) Waiting to run
Run tests / build (ubuntu-latest, 3.13) (push) Waiting to run
Run tests / build (ubuntu-latest, 3.8) (push) Waiting to run
Run tests / test_sampleproject (3.13) (push) Waiting to run
Run tests / build (ubuntu-latest, 3.9) (push) Waiting to run
Run tests / build (windows-latest, 3.10) (push) Waiting to run
Run tests / build (windows-latest, 3.11) (push) Waiting to run
Run tests / build (windows-latest, 3.12) (push) Waiting to run
Run tests / build (windows-latest, 3.13) (push) Waiting to run
Run tests / build (windows-latest, 3.8) (push) Waiting to run
Run tests / build (windows-latest, 3.9) (push) Waiting to run
Run tests / test_docs (3.13) (push) Waiting to run
This commit is contained in:
parent
5279fd372a
commit
f100cc1836
128 changed files with 3076 additions and 2599 deletions
|
@ -3,9 +3,9 @@ from django.template.base import Template, Token, TokenType
|
|||
from pytest_django.asserts import assertHTMLEqual
|
||||
|
||||
from django_components import Component, register, types
|
||||
from django_components.testing import djc_test
|
||||
from django_components.util.template_parser import parse_template
|
||||
|
||||
from django_components.testing import djc_test
|
||||
from .testutils import setup_test_config
|
||||
|
||||
setup_test_config({"autodiscover": False})
|
||||
|
@ -103,7 +103,7 @@ class TestTemplateParser:
|
|||
"""{% verbatim %}
|
||||
{{ this_is_not_a_var }}
|
||||
{% this_is_not_a_tag %}
|
||||
{% endverbatim %}"""
|
||||
{% endverbatim %}""",
|
||||
)
|
||||
|
||||
token_tuples = [token2tuple(token) for token in tokens]
|
||||
|
@ -126,7 +126,7 @@ class TestTemplateParser:
|
|||
{% verbatim %}
|
||||
{% endverbatim %}
|
||||
{% endverbatim blockname %}
|
||||
{% endverbatim myblock %}"""
|
||||
{% endverbatim myblock %}""",
|
||||
)
|
||||
|
||||
token_tuples = [token2tuple(token) for token in tokens]
|
||||
|
@ -178,7 +178,7 @@ class TestTemplateParser:
|
|||
{% endcomponent %}
|
||||
{% endverbatim %}
|
||||
{% endcomponent %}
|
||||
{% endif %}"""
|
||||
{% endif %}""",
|
||||
)
|
||||
|
||||
token_tuples = [token2tuple(token) for token in tokens]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue