From f1962140a4df234d1267735b939088f73084231f Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Mon, 6 Jan 2025 17:20:45 +0000 Subject: Some minor formatting --- alphabetlearning/resources/factories.py | 7 ++----- pyproject.toml | 2 ++ 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/alphabetlearning/resources/factories.py b/alphabetlearning/resources/factories.py index 4075ab1..e15a105 100644 --- a/alphabetlearning/resources/factories.py +++ b/alphabetlearning/resources/factories.py @@ -2,11 +2,8 @@ import itertools import factory -from .models import PDFPageSnapshot -from .models import PDFResource -from .models import Resource -from .models import ResourceCategory -from .models import ResourceType +from .models import (PDFPageSnapshot, PDFResource, Resource, ResourceCategory, + ResourceType) class ResourceTypeModelFactory(factory.django.DjangoModelFactory): diff --git a/pyproject.toml b/pyproject.toml index 0cb6687..74d1503 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -136,6 +136,7 @@ target-version = "py312" select = ["E", "F", "B", "SIM", "I"] ignore = [ "E501", # line length! + "I001", # imports - we are going to let isort do it "TRY003", "RUF001", "COM812", @@ -161,6 +162,7 @@ extend-unsafe-fixes = [ dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$" [tool.ruff.format] +line-length = 150 quote-style = "double" indent-style = "space" skip-magic-trailing-comma = false -- cgit v1.2.3