aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2025-01-06 17:20:45 +0000
committerMatthew Lemon <y@yulqen.org>2025-01-06 17:20:45 +0000
commitf1962140a4df234d1267735b939088f73084231f (patch)
tree5dd69dbe05111e430bae7698ff5ae6c448f23980
parentd98250037d43cd6a0d5f613ea70bb57bd17c1ab1 (diff)
Some minor formatting
-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