Skip to content

Commit

Permalink
chore: remove cachecontrol and cleanup ruff and pre-commit config (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
hairmare authored Feb 5, 2024
1 parent 2e8b2c1 commit 6bc78bb
Show file tree
Hide file tree
Showing 4 changed files with 120 additions and 338 deletions.
10 changes: 2 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
repos:
- repo: https://github.com/asottile/pyupgrade
rev: v2.31.1
hooks:
- id: pyupgrade
args:
- --py311-plus
- repo: https://github.com/charliermarsh/ruff-pre-commit
# Ruff version.
rev: "v0.0.269"
rev: "v0.2.0"
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand All @@ -24,7 +18,7 @@ repos:
entry: black
types: [python]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: trailing-whitespace
exclude: ^src/api/client.js$
Expand Down
2 changes: 1 addition & 1 deletion acringest.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def put_data(mc: Minio, bucket: str, acrid: str, data: str):
)


def app(
def app( # noqa: PLR0912,PLR0913
bootstrap_servers: list[str],
security_protocol: str,
tls_cafile: str,
Expand Down
Loading

0 comments on commit 6bc78bb

Please sign in to comment.