mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-04 12:46:44 +00:00
linting
This commit is contained in:
@@ -5,7 +5,7 @@ Copyright (c) 2024, deadc0de6
|
||||
default config
|
||||
"""
|
||||
|
||||
default_config = """config:
|
||||
DEFAULT_CONFIG = """config:
|
||||
backup: true
|
||||
banner: true
|
||||
create: true
|
||||
@@ -15,4 +15,4 @@ default_config = """config:
|
||||
link_on_import: nolink
|
||||
longkey: false
|
||||
dotfiles:
|
||||
profiles:"""
|
||||
profiles:"""
|
||||
|
||||
@@ -21,7 +21,7 @@ from dotdrop.cfg_aggregator import CfgAggregator
|
||||
from dotdrop.action import Action
|
||||
from dotdrop.utils import uniq_list, debug_list, debug_dict
|
||||
from dotdrop.exceptions import YamlException, OptionsException
|
||||
from dotdrop.config import default_config
|
||||
from dotdrop.config import DEFAULT_CONFIG
|
||||
|
||||
ENV_PROFILE = 'DOTDROP_PROFILE'
|
||||
ENV_CONFIG = 'DOTDROP_CONFIG'
|
||||
@@ -153,7 +153,7 @@ class Options(AttrMonitor):
|
||||
|
||||
if self.args['gencfg']:
|
||||
# print config and exit
|
||||
print(default_config)
|
||||
print(DEFAULT_CONFIG)
|
||||
sys.exit(0)
|
||||
|
||||
if args:
|
||||
|
||||
Reference in New Issue
Block a user