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
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ permissions:
contents: read

env:
PREK_VERSION: '0.3.1'
PREK_VERSION: '0.3.2'

jobs:
prek:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
- uses: astral-sh/setup-uv@681c641aba71e4a1c380be3ab5e12ad51f415867 # v7.1.6
with:
python-version-file: '.python-version'
activate-environment: true
- uses: extractions/setup-just@e33e0265a09d6d736e2ee1e0eb685ef1de4669ff # v3.0.0
with:
just-version: '1'
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
repos:
- repo: https://github.com/rhysd/actionlint
rev: v1.7.10
rev: v1.7.11
hooks:
- id: actionlint-docker
priority: 1
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.14
rev: v0.15.1
hooks:
- id: ruff-check
priority: 1
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ build:
jobs:
pre_create_environment:
- asdf plugin add uv
- asdf install uv latest:0.9
- asdf install uv latest:0.10
- asdf global uv latest
create_environment:
- uv venv "${READTHEDOCS_VIRTUALENV_PATH}"
Expand Down
6 changes: 3 additions & 3 deletions cloudsplaining/shared/validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from __future__ import annotations

import logging
from typing import Any
from typing import Any, cast

from schema import Optional, Schema, SchemaError

Expand Down Expand Up @@ -50,8 +50,8 @@ def check(conf_schema: Schema, conf: dict[str, list[Any]]) -> bool:
try:
# workarounds for Schema's logging approach
print(schema_error.autos[0])
detailed_error_message = schema_error.autos[2]
print(detailed_error_message.split(" in {'")[0]) # ty: ignore[possibly-missing-attribute]
detailed_error_message = cast("str", schema_error.autos[2])
print(detailed_error_message.split(" in {'")[0])
# for error in schema_error.autos:
except Exception:
logger.critical(schema_error)
Expand Down
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ Twitter = "https://twitter.com/kmcquade3"
dev = [
"coverage>=7.13.0,<8.0.0",
"moto[sts]>=5.1.0,<6.0.0",
"prek>=0.3.1,<0.4.0",
"prek>=0.3.2,<0.4.0",
"pytest>=9.0.0,<10.0.0",
"rust-just>=1.46.0,<2.0.0",
"ty>=0.0.14,<0.1.0",
"ty>=0.0.17,<0.1.0",
"types-boto3-lite[iam,s3,sts]>=1.40.0,<2.0.0",
"types-pyyaml>=6.0.12,<7.0.0",
]
Expand All @@ -65,7 +65,7 @@ docs = [
"mkdocs>=1.6.0,<2.0.0",
"mkdocs-material>=9.6.0,<10.0.0",
"mkdocs-material-extensions>=1.3.0,<2.0.0",
"mkdocstrings>=0.30.0,<1.1.0",
"mkdocstrings>=1.0.0,<2.0.0",
"mkdocstrings-python>=2.0.0,<3.0.0",
"mkdocstrings-python-legacy>=0.2.0,<0.3.0",
"pygments>=2.19.0,<3.0.0",
Expand All @@ -74,11 +74,11 @@ docs = [
]

[build-system]
requires = ["uv_build~=0.9.0"]
requires = ["uv_build~=0.10.0"]
build-backend = "uv_build"

[tool.uv]
required-version = "~=0.9.0"
required-version = "~=0.10.0"

[tool.uv.build-backend]
module-name = "cloudsplaining"
Expand Down
Loading