added returntype
Dieser Commit ist enthalten in:
Ursprung
8190ee94d3
Commit
380bc582e3
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
minor_changes:
|
||||
- Added an type hint to the update_doc function
|
|
@ -10,7 +10,7 @@ moduledir = pathlib.Path("plugins/modules")
|
|||
regex = re.compile("DOCUMENTATION *= *r?(?P<quote>\"{3}|'{3})(---)?.*?(?P=quote)", re.MULTILINE | re.DOTALL)
|
||||
|
||||
|
||||
def main():
|
||||
def main() -> None:
|
||||
try:
|
||||
modules = list(moduledir.iterdir())
|
||||
except:
|
||||
|
|
Laden…
In neuem Issue referenzieren