bump version

This commit is contained in:
Matthias Mair 2024-08-19 22:41:37 +02:00
parent a7d9600c3d
commit c26d73036d
No known key found for this signature in database
GPG Key ID: A593429DDA23B66A
2 changed files with 6 additions and 6 deletions

View File

@ -17,7 +17,7 @@ repos:
- id: check-yaml - id: check-yaml
- id: mixed-line-ending - id: mixed-line-ending
- repo: https://github.com/astral-sh/ruff-pre-commit - repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.1 rev: v0.6.1
hooks: hooks:
- id: ruff-format - id: ruff-format
args: [--preview] args: [--preview]
@ -27,7 +27,7 @@ repos:
--preview --preview
] ]
- repo: https://github.com/astral-sh/uv-pre-commit - repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.2.13 rev: 0.2.37
hooks: hooks:
- id: pip-compile - id: pip-compile
name: pip-compile requirements-dev.in name: pip-compile requirements-dev.in
@ -77,7 +77,7 @@ repos:
- "prettier@^2.4.1" - "prettier@^2.4.1"
- "@trivago/prettier-plugin-sort-imports" - "@trivago/prettier-plugin-sort-imports"
- repo: https://github.com/pre-commit/mirrors-eslint - repo: https://github.com/pre-commit/mirrors-eslint
rev: "v9.6.0" rev: "v9.9.0"
hooks: hooks:
- id: eslint - id: eslint
additional_dependencies: additional_dependencies:

View File

@ -180,9 +180,9 @@ class PartImport(FileManagementFormView):
if idx in self.file_manager.OPTIONAL_MATCH_HEADERS: if idx in self.file_manager.OPTIONAL_MATCH_HEADERS:
try: try:
exact_match = self.allowed_items[idx].get(**{ exact_match = self.allowed_items[idx].get(
a: data for a in self.matches[idx] **dict.fromkeys(self.matches[idx], data)
}) )
except ( except (
ValueError, ValueError,
self.allowed_items[idx].model.DoesNotExist, self.allowed_items[idx].model.DoesNotExist,