mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
bump version
This commit is contained in:
parent
a7d9600c3d
commit
c26d73036d
@ -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:
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user