Couple of fixes

This commit is contained in:
Tris Forster 2026-05-24 16:42:51 +10:00
parent 72bad08a61
commit 6e77474d15
2 changed files with 9 additions and 10 deletions

View File

@ -338,8 +338,7 @@ class WorkUpdateView(CollectionMixin, UpdateView):
def form_valid(self, form):
response = super().form_valid(form)
ix = indexer.get_index()
indexer.index_works(ix, [self.object])
index_works([self.object])
return response

View File

@ -33,14 +33,14 @@ poly-tool = "polyphonic.manage:main"
[tool.ruff]
extend-exclude = ["**/migrations/"]
extend-select = [
"DJ", # flake8-django: Django-specific bugs
"E", # pycodestyle errors
lint.extend-select = [
#"DJ", # flake8-django: Django-specific bugs
#"E", # pycodestyle errors
"F", # Pyflakes
"W", # pycodestyle warnings
"I", # isort
"UP", # pyupgrade
"B", # flake8-bugbear
#"W", # pycodestyle warnings
#"I", # isort
#"UP", # pyupgrade
#"B", # flake8-bugbear
]
[build-system]