Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#19)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/psf/black: 23.12.1 → 24.1.1](psf/black@23.12.1...24.1.1)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Jan 31, 2024
1 parent a9007a9 commit 93c9c21
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.1.1
hooks:
- id: black
args: ["--line-length", "100"]
Expand Down
2 changes: 1 addition & 1 deletion sparglim/config/configer.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ class SparkEnvConfiger:
"/opt/spark/examples/src/main/scripts/getGpusResources.sh",
),
"spark.executor.resource.gpu.amount": ("SPARGLIM_K8S_GPU_AMOUNT", None),
"spark.rapids.sql.enabled": ("SPARGLIM_RAPIDS_SQL_ENABLED", None)
"spark.rapids.sql.enabled": ("SPARGLIM_RAPIDS_SQL_ENABLED", None),
# TODO: Mount config
# Given that it is highly customizable
# Not sure when it will be supported
Expand Down
9 changes: 3 additions & 6 deletions sparglim/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@
# Licensed under the BSD 3-Clause License


class UnconfigurableError(Exception):
...
class UnconfigurableError(Exception): ...


class DaemonError(Exception):
...
class DaemonError(Exception): ...


class AlreadyConfiguredError(UnconfigurableError):
...
class AlreadyConfiguredError(UnconfigurableError): ...

0 comments on commit 93c9c21

Please sign in to comment.