From d2f07ade5dc69cc890e1bc92ac1c9cfb20bd3af3 Mon Sep 17 00:00:00 2001 From: Marcel Robitaille Date: Mon, 14 Dec 2020 12:32:37 -0500 Subject: [PATCH] Fix line length --- dotdrop/comparator.py | 6 ++++-- dotdrop/updater.py | 5 ++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/dotdrop/comparator.py b/dotdrop/comparator.py index 2852def..05b0590 100644 --- a/dotdrop/comparator.py +++ b/dotdrop/comparator.py @@ -90,7 +90,8 @@ class Comparator: local_path, deployed_path, )) - if (self.ignore_missing_in_dotdrop and not os.path.exists(local_path)) \ + if (self.ignore_missing_in_dotdrop and not + os.path.exists(local_path)) \ or must_ignore([local_path, deployed_path], ignore, debug=self.debug): if self.debug: @@ -110,7 +111,8 @@ class Comparator: )) if not os.path.exists(deployed_path): return '' - if (self.ignore_missing_in_dotdrop and not os.path.exists(local_path)) \ + if (self.ignore_missing_in_dotdrop and not + os.path.exists(local_path)) \ or must_ignore([local_path, deployed_path], ignore, debug=self.debug): if self.debug: diff --git a/dotdrop/updater.py b/dotdrop/updater.py index 39f697e..6a083ad 100644 --- a/dotdrop/updater.py +++ b/dotdrop/updater.py @@ -247,7 +247,10 @@ class Updater: return False try: if self.dry: - self.log.dry('would cp {} {}'.format(deployed_path, local_path)) + self.log.dry('would cp {} {}'.format( + deployed_path, + local_path, + )) else: if self.debug: self.log.dbg('cp {} {}'.format(deployed_path, local_path))