mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Ignore compiled Python for documentation.
When running `ansible-doc --list` a lot of errors are generated when `ansible-doc` tries to find documentation strings in `.pyc` files.
This commit is contained in:
parent
44afa7facc
commit
39bbe36fc7
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ import traceback
|
|||
|
||||
MODULEDIR = C.DEFAULT_MODULE_PATH
|
||||
|
||||
BLACKLIST_EXTS = ('.swp', '.bak', '~', '.rpm')
|
||||
BLACKLIST_EXTS = ('.pyc', '.swp', '.bak', '~', '.rpm')
|
||||
|
||||
_ITALIC = re.compile(r"I\(([^)]+)\)")
|
||||
_BOLD = re.compile(r"B\(([^)]+)\)")
|
||||
|
|
Loading…
Reference in a new issue