Skip to content

Commit

Permalink
Adjusted codestyle check to use ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
david-zwicker committed Aug 17, 2024
1 parent b6855ae commit 6562795
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions scripts/run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,8 @@ def test_codestyle(*, verbose: bool = True):
print(f"Checking codestyle in folder {folder}...")
path = PACKAGE_PATH / folder

# format imports
sp.check_call(["isort", "--diff", path])
# format rest
sp.check_call(["black", "--check", path])
# check format
sp.check_call(["ruff", "check", path])


def test_types(*, report: bool = False, verbose: bool = True):
Expand Down

0 comments on commit 6562795

Please sign in to comment.