From ed6bc7a117dc1eae2ff408ee4e320e8666ede47c Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Wed, 23 Oct 2024 14:25:29 +0200 Subject: [PATCH] linting --- dotdrop/config.py | 4 ++-- dotdrop/options.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dotdrop/config.py b/dotdrop/config.py index 4b6c60a..ba1c7db 100644 --- a/dotdrop/config.py +++ b/dotdrop/config.py @@ -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:""" \ No newline at end of file +profiles:""" diff --git a/dotdrop/options.py b/dotdrop/options.py index 8143572..c4fe301 100644 --- a/dotdrop/options.py +++ b/dotdrop/options.py @@ -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: