Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ repos:
args: ["--maxkb=500"]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.6
rev: v0.10.0
hooks:
- id: ruff
args: ["--fix"]
Expand Down
4 changes: 2 additions & 2 deletions obstore/python/obstore/auth/google.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def __call__(self) -> GCSCredential:
self.credentials.refresh(self.request)
return {
# self.credentials.token is a str
"token": cast(str, self.credentials.token),
"token": cast("str", self.credentials.token),
"expires_at": _replace_expiry_timezone_utc(self.credentials.expiry),
}

Expand Down Expand Up @@ -146,7 +146,7 @@ async def __call__(self) -> GCSCredential:
await self.credentials.refresh(self.async_request)
return {
# self.credentials.token is a str
"token": cast(str, self.credentials.token),
"token": cast("str", self.credentials.token),
"expires_at": _replace_expiry_timezone_utc(self.credentials.expiry),
}

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ dev-dependencies = [
"pyarrow>=17.0.0",
"pytest-asyncio>=0.24.0",
"pytest>=8.3.3",
"ruff>=0.8.4",
"ruff>=0.10.0",
"types-boto3[sts]>=1.36.23",
"polars>=1.24.0",
]
Expand Down Expand Up @@ -64,7 +64,7 @@ ignore = [
"SLF001", # Private member accessed
]

[tool.ruff.extend-per-file-ignores]
[tool.ruff.lint.extend-per-file-ignores]
"__init__.py" = [
"F401", # Allow unused imports in __init__.py files
"F403", # unable to detect undefined names
Expand Down
44 changes: 22 additions & 22 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading