From 540e6b214b60b9eda902fdce547ecf1763277290 Mon Sep 17 00:00:00 2001 From: Paige Rubendall Date: Wed, 6 Mar 2024 13:46:43 -0500 Subject: [PATCH] addign pylint for subfolder files too --- .github/workflows/pylint.yml | 2 +- orion.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index d8c23ef..1593759 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -22,4 +22,4 @@ jobs: pip install . - name: Analysing the code with pylint run: | - pylint -d C0103 $(git ls-files '*.py') \ No newline at end of file + pylint -d C0103 $(git ls-files '*/*.py' '*.py') \ No newline at end of file diff --git a/orion.py b/orion.py index cf9a86b..40a099f 100644 --- a/orion.py +++ b/orion.py @@ -95,7 +95,9 @@ def orion(**kwargs): lambda left, right: pd.merge(left, right, on="uuid", how="inner"), dataframe_list, ) - match.save_results(merged_df, csv_file_path=kwargs["output"].split(".")[0]+"-"+test['name']+".csv") + match.save_results( + merged_df, csv_file_path=kwargs["output"].split(".")[0]+"-"+test['name']+".csv" + ) if kwargs["hunter_analyze"]: orion_funcs.run_hunter_analyze(merged_df,test)