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

View File

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