Couple of fixes
This commit is contained in:
parent
72bad08a61
commit
6e77474d15
@ -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
|
||||
|
||||
|
||||
@ -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]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user