Skip to content

Commit

Permalink
ci: update black in pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
danipran committed Nov 18, 2024
1 parent 5d914b6 commit 955dec4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repos:
- id: check-toml
- id: check-added-large-files
- repo: https://github.com/psf/black
rev: 23.10.1
rev: 24.4.2
hooks:
- id: black
- repo: https://github.com/pycqa/flake8
Expand Down
6 changes: 3 additions & 3 deletions metarecord/views/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ def list(self, request, format=None):
xml = create_saved_jhs_xml()

response = HttpResponse(xml, content_type="application/xml")
response[
"Content-Disposition"
] = 'attachment; filename="helerm-jhs191-export.xml"'
response["Content-Disposition"] = (
'attachment; filename="helerm-jhs191-export.xml"'
)

return response

0 comments on commit 955dec4

Please sign in to comment.