mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-07 03:40:36 +00:00
linting
This commit is contained in:
@@ -7,6 +7,7 @@ filesystem tree for directories
|
||||
|
||||
|
||||
import os
|
||||
import fnmatch
|
||||
|
||||
# local imports
|
||||
from dotdrop.utils import must_ignore, dir_empty
|
||||
@@ -34,7 +35,6 @@ class FTreeDir:
|
||||
ignore empty directory
|
||||
test for ignore pattern
|
||||
"""
|
||||
import fnmatch
|
||||
for pattern in self.dir_as_block:
|
||||
if fnmatch.fnmatch(self.path, pattern):
|
||||
self.log.dbg(f'dir_as_block match: {pattern} for {self.path}')
|
||||
|
||||
Reference in New Issue
Block a user