Skip to content

Commit

Permalink
style: replace black with ruff linter/formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
qlonik committed Apr 11, 2024
1 parent 8723065 commit b86fa07
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion evaluation/scripts/plot-throughput-graphs.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,9 @@
}


def load_folders(hostname: str, timestamps: List[str], exclude: List[str]) -> Dict[
def load_folders(
hostname: str, timestamps: List[str], exclude: List[str]
) -> Dict[
Bookinfo_Variants,
Dict[RequestRate, List[Summary]],
]:
Expand Down
3 changes: 2 additions & 1 deletion treefmt.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
programs.statix.enable = true;
programs.nixfmt-rfc-style.enable = true;

programs.black.enable = true;
programs.ruff.enable = true;
programs.ruff.format = true;
programs.isort.enable = true;
programs.isort.profile = "black";

Expand Down

0 comments on commit b86fa07

Please sign in to comment.