mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-04 17:53:10 +00:00
Have module formatter ignore more types of files.
This commit is contained in:
@@ -283,7 +283,8 @@ def main():
|
|||||||
fname = os.path.join(options.module_dir, module)
|
fname = os.path.join(options.module_dir, module)
|
||||||
extra = os.path.join("inc", "%s.tex" % module)
|
extra = os.path.join("inc", "%s.tex" % module)
|
||||||
|
|
||||||
if fname.endswith(".swp"):
|
# probably could just throw out everything with extensions
|
||||||
|
if fname.endswith(".swp") or fname.endswith(".orig") or fname.endswith(".rej"):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
print " processing module source ---> %s" % fname
|
print " processing module source ---> %s" % fname
|
||||||
|
|||||||
Reference in New Issue
Block a user