mirror of
https://github.com/aclist/dztui.git
synced 2026-10-30 06:32:53 +01:00
chore: clear linting errors
This commit is contained in:
1 parent
3cdc36c78b
commit
77c42f5b78
19 files changed
+17
-28
No files matched your search
@@ -28,8 +28,8 @@ def write_shim_file(share_path: Path) -> None:
|
||||
"""
|
||||
try:
|
||||
file.write_text(textwrap.dedent(template))
|
||||
f.chmod(f.stat().st_mode | stat.S_IEXEC)
|
||||
except OSError:
|
||||
file.chmod(file.stat().st_mode | stat.S_IEXEC)
|
||||
except OSError as e:
|
||||
logger.critical(e)
|
||||
return
|
||||
clear_old_path()
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
import shutil
|
||||
from pathlib import Path
|
||||
|
||||
def uninstall(path: Path) -> None
|
||||
def uninstall(path: Path) -> None:
|
||||
pass
|
||||
# TODO: use xdg object?
|
||||
# partial/full (keep config?)
|
||||
# -u removes state, log
|
||||
|
||||
Reference in new issue
Block a user