aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--alphabetlearning/resources/factories.py7
-rw-r--r--pyproject.toml2
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