Skip to content

Commit

Permalink
Supply missing Project.cache annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
bswck committed Feb 4, 2024
1 parent d87e873 commit 260259b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jaraco/develop/git.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from __future__ import annotations
import contextlib
import functools
import os
Expand Down Expand Up @@ -114,7 +115,7 @@ class Project(str):
"""

pattern = re.compile(r'(?P<name>\S+)\s*(?P<rest>.*)$')
cache = {}
cache: dict[str, Project] = {}

def __new__(cls, value, **kwargs):
# Down-cast to a string early.
Expand Down

0 comments on commit 260259b

Please sign in to comment.