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:
parent
e0be27cddf
commit
80e1e9efc9
@ -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."""
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user