def to_path_globs(self, relpath):
Return a PathGlobs representing the included and excluded Files for these patterns.
return PathGlobs.create(relpath, self._file_globs, self._excluded_file_globs)
def _gen_init_args_str(self):
all_arg_strs = []
positional_args = ", ".join([repr(p) for p in self._patterns])
After Change
def to_path_globs(self, relpath):
Return a PathGlobs representing the included and excluded Files for these patterns.
return PathGlobs(
tuple(os.path.join(relpath, glob)for glob in self._file_globs),
tuple(os.path.join(relpath, exclude)for exclude in self._excluded_file_globs),
)
def _gen_init_args_str(self):