Skip to content

Commit

Permalink
patchable
Browse files Browse the repository at this point in the history
  • Loading branch information
JelleZijlstra committed Sep 9, 2023
1 parent ffe6cea commit 2675f77
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/black/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from pathlib import Path
from typing import Dict, Iterable, Set, Tuple

from mypy_extensions import mypyc_attr
from platformdirs import user_cache_dir

from _black_version import version as __version__
Expand Down Expand Up @@ -48,6 +49,7 @@ def get_cache_file(mode: Mode) -> Path:


@dataclass
@mypyc_attr(patchable=True)
class Cache:
mode: Mode
cache_file: Path
Expand Down

0 comments on commit 2675f77

Please sign in to comment.