Skip to content

Commit

Permalink
linting and formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
erwin-wee committed Jan 15, 2025
1 parent f2a3291 commit 0252779
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions chainbench/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ def validate_profile_path(ctx: Context, param: Parameter, value: str) -> str:
profile_exists(abs_profile_path.name.removesuffix(".py"), abs_profile_path.parent)
return value


@cli.command(
help="Start a load test on the specified method. "
"Alternatively, you can specify a profile to run using the --profile option instead. "
Expand Down
1 change: 1 addition & 0 deletions chainbench/util/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def get_profiles(profile_dir: Path) -> list[str]:
result.append(locustfile_path.parts[0][:-3])
return result


def validate_profile_path(profile_path: Path) -> None:
"""Validate profile path."""
abs_profile_path = profile_path.resolve()
Expand Down

0 comments on commit 0252779

Please sign in to comment.