From c26fad64f5aabff3f49cd29467d715191bc740ac Mon Sep 17 00:00:00 2001 From: Michael Harper Date: Wed, 31 Jan 2024 12:19:43 +1100 Subject: [PATCH] linting --- scripts/clear_project_test_metadata.py | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/scripts/clear_project_test_metadata.py b/scripts/clear_project_test_metadata.py index 5d903a34d..0b668efab 100644 --- a/scripts/clear_project_test_metadata.py +++ b/scripts/clear_project_test_metadata.py @@ -1,10 +1,22 @@ -from metamist.apis import ProjectApi import click +from metamist.apis import ProjectApi + @click.command() @click.option('--project', required=True, help='Project to delete data from') def main(project: str): + """ + Deletes all data from a specified project in Metamist. + + This function uses the Metamist API to delete all data associated with a given project. + + Args: + project (str): The name of the project from which to delete data. + + Returns: + None + """ papi = ProjectApi() # Delete Project Data @@ -14,4 +26,5 @@ def main(project: str): if __name__ == '__main__': + # pylint: disable=no-value-for-parameter main()