Skip to content

Commit

Permalink
Ruff formatting, lint and type fixes (#665)
Browse files Browse the repository at this point in the history
  • Loading branch information
PGijsbers authored Dec 8, 2024
1 parent cdc660d commit d493e92
Show file tree
Hide file tree
Showing 189 changed files with 6,105 additions and 3,538 deletions.
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,13 @@ repos:
hooks:
- id: ruff
args: [ --fix ]
types_or: ["python"]
- id: ruff-format
types_or: ["python"]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v1.13.0'
hooks:
- id: mypy
additional_dependencies: ["types-tabulate", "types-requests"]
files: "(amlb|frameworks)/.*.py"
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ preferred-citation:
issue: 101
volume: 25
year: 2024
url: http://jmlr.org/papers/v25/22-0493.html
url: http://jmlr.org/papers/v25/22-0493.html
2 changes: 1 addition & 1 deletion amlb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@
"AWSBenchmark",
"SetupMode",
"TaskResult",
"__version__"
"__version__",
]
Loading

0 comments on commit d493e92

Please sign in to comment.