diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e2b497aca..44b68479c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -21,7 +21,7 @@ repos: args: ["--application-directories", "examples"] additional_dependencies: ["setuptools>60.9"] - repo: https://github.com/psf/black - rev: 22.12.0 + rev: 23.1.0 hooks: - id: black - repo: https://github.com/PyCQA/flake8 diff --git a/src/werkzeug/datastructures.py b/src/werkzeug/datastructures.py index 43ee8c754..a293dfddb 100644 --- a/src/werkzeug/datastructures.py +++ b/src/werkzeug/datastructures.py @@ -1226,7 +1226,7 @@ def __setitem__(self, key, value): (_unicodify_header_value(k), _unicodify_header_value(v)) for (k, v) in value ] - for (_, v) in value: + for _, v in value: self._validate_value(v) if isinstance(key, int): self._list[key] = value[0]