mirror of
https://github.com/nvbn/thefuck.git
synced 2025-04-20 09:40:46 +01: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
|
return dir
|
||||||
|
|
||||||
|
|
||||||
def cache_dir():
|
def cache_dir():
|
||||||
"""Returns the user's XDG cache directory."""
|
"""Returns the user's XDG cache directory."""
|
||||||
return Path(_xdg_dir("XDG_CACHE_HOME", "~/.cache"))
|
return Path(_xdg_dir("XDG_CACHE_HOME", "~/.cache"))
|
||||||
|
|
||||||
|
|
||||||
def data_dir():
|
def data_dir():
|
||||||
"""Returns the user's XDG data directory."""
|
"""Returns the user's XDG data directory."""
|
||||||
return Path(_xdg_dir("XDG_DATA_HOME", "~/.local/share"))
|
return Path(_xdg_dir("XDG_DATA_HOME", "~/.local/share"))
|
||||||
|
|
||||||
|
|
||||||
class Cache(object):
|
class Cache(object):
|
||||||
"""Lazy read cache and save changes at exit."""
|
"""Lazy read cache and save changes at exit."""
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user