Commit 357b9dc Sam Kagan
committed
1 parent 2bf48ff commit 357b9dc Copy full SHA for 357b9dc
File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -107,10 +107,12 @@ def resolved_filemap(self) -> Dict[str, FileConfig]:
107
107
def files_to_modify (self ) -> List [FileConfig ]:
108
108
"""Return a list of files to modify."""
109
109
files_not_excluded = [
110
- file_cfg .filename for file_cfg in self .files if file_cfg .filename not in self .excluded_paths
110
+ file_cfg .filename
111
+ for file_cfg in self .resolved_filemap .values ()
112
+ if file_cfg .filename not in self .excluded_paths
111
113
]
112
114
inclusion_set = set (self .included_paths ) | set (files_not_excluded )
113
- return [file_cfg for file_cfg in self .files if file_cfg .filename in inclusion_set ]
115
+ return [file_cfg for file_cfg in self .resolved_filemap . values () if file_cfg .filename in inclusion_set ]
114
116
115
117
@property
116
118
def version_config (self ) -> "VersionConfig" :
You can’t perform that action at this time.
0 commit comments