Skip to content

Commit

Permalink
tooling: enable mypy --cache-fine-grained
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarnett committed Sep 22, 2024
1 parent bac1689 commit 64c6b47
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions gcalcli/gcal.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import sys
import textwrap
import time
from typing import Iterable
from typing import Any, Iterable
from unicodedata import east_asian_width

import googleapiclient.http
Expand Down Expand Up @@ -54,8 +54,8 @@ class GoogleCalendarInterface:
agenda_length = 5
conflicts_lookahead_days = 30
max_retries = 5
credentials = None
cal_service = None
credentials: Any = None
cal_service: Any = None
# Special override to bypass all auth and defer the auth-related failures
# as late as possible, for testing.
userless_mode: bool = False
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ description = run type checks
deps =
mypy >= 1.0
commands =
mypy {posargs:gcalcli}
mypy {posargs:gcalcli} --cache-fine-grained

[testenv:cli]
description = run functional tests using Bats
Expand Down

0 comments on commit 64c6b47

Please sign in to comment.