samples directory now passes the missing-function-docstring linter (#640)

* updated files with docstrings to pass pylint

Signed-off-by: Mark Cohen <[email protected]>

* updated samples to prepare for enabling missing-docstring linter; will continue to work on this before committing setup.cfg

Signed-off-by: Mark Cohen <[email protected]>

* removed missing-function-docstring from setup.cfg so the linter doesn't fail while work on docstrings continues

Signed-off-by: Mark Cohen <[email protected]>

* corrected unnecessary return docstring values

Signed-off-by: Mark Cohen <[email protected]>

* fixing failure in 'black' on reformatting

Signed-off-by: Mark Cohen <[email protected]>

---------

Signed-off-by: Mark Cohen <[email protected]>
This commit is contained in:
Mark Cohen
2023-12-22 12:32:48 -08:00
committed by GitHub
parent e323ab2435
commit 7b0b58d12b
22 changed files with 119 additions and 17 deletions
+1
View File
@@ -17,6 +17,7 @@ from opensearchpy import OpenSearch
def main() -> None:
"""demonstrates how to bulk load data into an index"""
# connect to an instance of OpenSearch
host = os.getenv("HOST", default="localhost")