Skip to content

Commit 4fa71cd

Browse files
authored
Merge pull request #380 from asottile/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents 13481af + 72fb5dd commit 4fa71cd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ repos:
3636
hooks:
3737
- id: flake8
3838
- repo: https://github.com/pre-commit/mirrors-mypy
39-
rev: v1.17.1
39+
rev: v1.18.1
4040
hooks:
4141
- id: mypy

tests/features/conftest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -413,11 +413,11 @@ def _curses_keyname(self, k):
413413
return KEYS_CURSES.get(k, b'')
414414

415415
def _curses_update_lines_cols(self):
416-
curses.LINES = self.screen.height
417-
curses.COLS = self.screen.width
416+
curses.LINES = self.screen.height # type: ignore[misc]
417+
curses.COLS = self.screen.width # type: ignore[misc]
418418

419419
def _curses_start_color(self):
420-
curses.COLORS = self._n_colors
420+
curses.COLORS = self._n_colors # type: ignore[misc]
421421

422422
def _curses_can_change_color(self):
423423
return self._can_change_color

0 commit comments

Comments
 (0)