Skip to content

Commit

Permalink
change the way of addressing the prospector profile
Browse files Browse the repository at this point in the history
  • Loading branch information
dmytropolityka committed Aug 10, 2024
1 parent 51e7017 commit 14dcc7e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/lint_modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,16 @@ def main():
"modules/text/module_text_cofee",
"modules/programming/module_programming_themisml",
"modules/modeling/module_modeling_llm",
#"module_programming_apted" skip due to an error
# "module_programming_apted" skip due to an error
]

success = True

for module in modules:
if os.path.isdir(module):
result = subprocess.run(["poetry", "run", "prospector", "--profile", "../../../.prospector.yaml"], cwd=module)
result = subprocess.run(["poetry", "run", "prospector", "--profile",
os.path.abspath(os.path.join(os.path.dirname(__file__), "../.prospector.yaml"))],
cwd=module)
if result.returncode != 0:
success = False

Expand Down

0 comments on commit 14dcc7e

Please sign in to comment.