Loading README.md +5 −0 Changes for README.md: 5 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -712,6 +712,11 @@ More details can be found in [CONTRIBUTING](CONTRIBUTING.md). ## Change Log ### 18.6b2 * fixed improper unmodified file caching when `-S` was used ### 18.6b1 * hotfix: don't output human-facing information on stdout (#299) Loading black.py +1 −6 Changes for black.py: 1 added line, 6 removed lines. Original line number Diff line number Diff line Loading @@ -3335,12 +3335,7 @@ def can_omit_invisible_parens(line: Line, line_length: int) -> bool: def get_cache_file(line_length: int, mode: FileMode) -> Path: pyi = bool(mode & FileMode.PYI) py36 = bool(mode & FileMode.PYTHON36) return ( CACHE_DIR / f"cache.{line_length}{'.pyi' if pyi else ''}{'.py36' if py36 else ''}.pickle" ) return CACHE_DIR / f"cache.{line_length}.{mode.value}.pickle" def read_cache(line_length: int, mode: FileMode) -> Cache: Loading Loading
README.md +5 −0 Changes for README.md: 5 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -712,6 +712,11 @@ More details can be found in [CONTRIBUTING](CONTRIBUTING.md). ## Change Log ### 18.6b2 * fixed improper unmodified file caching when `-S` was used ### 18.6b1 * hotfix: don't output human-facing information on stdout (#299) Loading
black.py +1 −6 Changes for black.py: 1 added line, 6 removed lines. Original line number Diff line number Diff line Loading @@ -3335,12 +3335,7 @@ def can_omit_invisible_parens(line: Line, line_length: int) -> bool: def get_cache_file(line_length: int, mode: FileMode) -> Path: pyi = bool(mode & FileMode.PYI) py36 = bool(mode & FileMode.PYTHON36) return ( CACHE_DIR / f"cache.{line_length}{'.pyi' if pyi else ''}{'.py36' if py36 else ''}.pickle" ) return CACHE_DIR / f"cache.{line_length}.{mode.value}.pickle" def read_cache(line_length: int, mode: FileMode) -> Cache: Loading