1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-01-18 20:11:17 +00:00

style: fix whitespace lint

This commit is contained in:
mainrs 2022-01-05 11:00:18 +01:00
parent e0be27cddf
commit 80e1e9efc9

View File

@ -219,14 +219,17 @@ def _xdg_dir(env, default):
return dir
def cache_dir():
"""Returns the user's XDG cache directory."""
return Path(_xdg_dir("XDG_CACHE_HOME", "~/.cache"))
def data_dir():
"""Returns the user's XDG data directory."""
return Path(_xdg_dir("XDG_DATA_HOME", "~/.local/share"))
class Cache(object):
"""Lazy read cache and save changes at exit."""