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

This commit is contained in:
Juro Oravec 2025-09-10 14:06:53 +02:00 committed by GitHub
parent 5279fd372a
commit f100cc1836
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
128 changed files with 3076 additions and 2599 deletions

View file

@ -11,11 +11,12 @@ See https://github.com/django-components/django-components/issues/1323#issuecomm
from typing import NamedTuple
import pytest
from django.shortcuts import render
from django.http import HttpRequest
from django.shortcuts import render
from django_components import Component, register
from django_components.testing import djc_test
from .testutils import setup_test_config
try:
@ -28,9 +29,7 @@ setup_test_config(components={"autodiscover": False})
# See https://github.com/django-components/django-components/issues/1323#issuecomment-3156654329
@djc_test(
django_settings={"INSTALLED_APPS": ("template_partials", "django_components", "tests.test_app")}
)
@djc_test(django_settings={"INSTALLED_APPS": ("template_partials", "django_components", "tests.test_app")})
class TestTemplatePartialsIntegration:
@pytest.mark.skipif(TemplateProxy is None, reason="template_partials not available")
def test_render_partial(self):