diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 08cb7d49e..ab0c58c36 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -52,7 +52,7 @@ repos: - "--exit-non-zero-on-fix" - repo: https://github.com/streetsidesoftware/cspell-cli - rev: v8.2.0 + rev: v8.2.1 hooks: - id: cspell name: Spell check with cspell @@ -150,7 +150,7 @@ repos: - id: pyupgrade args: ["--py39-plus"] - repo: https://github.com/pre-commit/mirrors-mypy.git - rev: v1.7.1 + rev: v1.8.0 hooks: - id: mypy additional_dependencies: diff --git a/src/ansible_navigator/ui_framework/curses_window.py b/src/ansible_navigator/ui_framework/curses_window.py index 93841a16a..b3113c596 100644 --- a/src/ansible_navigator/ui_framework/curses_window.py +++ b/src/ansible_navigator/ui_framework/curses_window.py @@ -195,7 +195,7 @@ def _set_colors(self) -> None: self._logger.debug("term_osc4_support: %s", self._term_osc4_support) if self._term_osc4_support: - with self._ui_config.terminal_colors_path.open(mode="r", encoding="utf-8") as fh: + with self._ui_config.terminal_colors_path.open("r", encoding="utf-8") as fh: colors = json.load(fh) for color_name, color_hex in colors.items():