From 38c1d0a12796cf9ad1b6c3f67584c8ee6e7d8262 Mon Sep 17 00:00:00 2001 From: Kristofers Solo Date: Thu, 29 Jun 2023 02:59:41 +0000 Subject: [PATCH] Fixed ruff errors --- pyproject.toml | 2 ++ src/apps/main/admin.py | 3 --- src/apps/main/models.py | 3 --- src/apps/main/tests.py | 3 --- 4 files changed, 2 insertions(+), 9 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 7c136c2..f7a8176 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,6 +14,8 @@ warn_unused_configs = true [tool.ruff] line-length = 160 +exclude = ["**/**/migrations"] + [tool.black] line-length = 160 diff --git a/src/apps/main/admin.py b/src/apps/main/admin.py index 8c38f3f..e69de29 100644 --- a/src/apps/main/admin.py +++ b/src/apps/main/admin.py @@ -1,3 +0,0 @@ -from django.contrib import admin - -# Register your models here. diff --git a/src/apps/main/models.py b/src/apps/main/models.py index 71a8362..e69de29 100644 --- a/src/apps/main/models.py +++ b/src/apps/main/models.py @@ -1,3 +0,0 @@ -from django.db import models - -# Create your models here. diff --git a/src/apps/main/tests.py b/src/apps/main/tests.py index 7ce503c..e69de29 100644 --- a/src/apps/main/tests.py +++ b/src/apps/main/tests.py @@ -1,3 +0,0 @@ -from django.test import TestCase - -# Create your tests here.