Format with isort/ruff and implement linter step in Woodpecker

This commit is contained in:
Keannu Christian Bernasol 2025-09-13 21:00:44 +08:00
parent a3a9351682
commit cae8e1c411
10 changed files with 38 additions and 22 deletions

View file

@ -4,7 +4,6 @@ Minimal Django settings file for tests
from core.settings import * # noqa: F403
# Override database to SQLite
DATABASES = {
"default": {

View file

@ -2,12 +2,12 @@
Post-migrate signal handlers for creating initial data for accounts app.
"""
import os
import json
import logging
import os
from accounts.models import CustomUser
from core.settings import config, TESTS_DIR
from core.settings import TESTS_DIR, config
logger = logging.getLogger(__name__)

View file

@ -1,10 +1,9 @@
import pytest
from core.settings import config
import users
from rest_framework.test import APIClient
from core.settings import config
client = APIClient()