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
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
args: [--enforce-all, --maxkb=100]
- repo: https://github.com/google/yamlfmt
rev: v0.17.0
rev: v0.17.2
hooks:
- id: yamlfmt
- repo: https://github.com/hhatto/autopep8
Expand All @@ -33,12 +33,12 @@ repos:
- id: forbid-crlf
- id: forbid-tabs
- repo: https://github.com/streetsidesoftware/cspell-cli
rev: v9.0.1
rev: v9.2.0
hooks:
- id: cspell
exclude: \.gitignore|.*\.properties
- repo: https://github.com/pycqa/flake8
rev: 7.2.0
rev: 7.3.0
hooks:
- id: flake8
args: [--max-line-length=150]
Expand All @@ -50,17 +50,17 @@ repos:
additional_dependencies: ["tomli"]
exclude: examples|tests|.pre-commit-hooks|conf.py
- repo: https://github.com/regebro/pyroma
rev: "4.2"
rev: "5.0"
hooks:
- id: pyroma
args: ["-d", "--min=10", "."]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.16.1
rev: v1.18.2
hooks:
- id: mypy
additional_dependencies: ["types-docutils", "types-python-dateutil", "types-requests"]
- repo: "https://github.com/python-jsonschema/check-jsonschema"
rev: "0.33.0"
rev: "0.34.0"
hooks:
- id: check-github-workflows
- repo: https://github.com/johannsdg/pre-commit-license-headers
Expand Down
19 changes: 10 additions & 9 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
accessible-pygments==0.0.5
alabaster==1.0.0
babel==2.17.0
beautifulsoup4==4.13.4
certifi==2025.6.15
charset-normalizer==3.4.2
beautifulsoup4==4.14.2
certifi==2025.8.3
charset-normalizer==3.4.3
docutils==0.21.2
furo==2024.8.6
furo==2025.9.25
idna==3.10
imagesize==1.4.1
Jinja2==3.1.6
MarkupSafe==3.0.2
MarkupSafe==3.0.3
packaging==25.0
Pygments==2.19.1
requests==2.32.4
Pygments==2.19.2
requests==2.32.5
roman-numerals-py==3.1.0
snowballstemmer==3.0.1
soupsieve==2.7
soupsieve==2.8
Sphinx==8.2.3
sphinx-autodoc-typehints==3.2.0
sphinx-basic-ng==1.0.0b2
Expand All @@ -24,5 +25,5 @@ sphinxcontrib-htmlhelp==2.1.0
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==2.0.0
sphinxcontrib-serializinghtml==2.0.0
typing_extensions==4.14.0
typing_extensions==4.15.0
urllib3==2.5.0
26 changes: 13 additions & 13 deletions requirements-tests.txt
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
boto3==1.38.39
botocore==1.38.39
certifi==2025.6.15
cffi==1.17.1
charset-normalizer==3.4.2
cryptography==45.0.4
boto3==1.40.42
botocore==1.40.42
certifi==2025.8.3
cffi==2.0.0
charset-normalizer==3.4.3
cryptography==46.0.2
idna==3.10
Jinja2==3.1.6
jmespath==1.0.1
MarkupSafe==3.0.2
MarkupSafe==3.0.3
moto==5.0.12
pycparser==2.22
pycparser==2.23
python-dateutil==2.9.0.post0
PyYAML==6.0.2
requests==2.32.4
responses==0.25.7
s3transfer==0.13.0
PyYAML==6.0.3
requests==2.32.5
responses==0.25.8
s3transfer==0.14.0
six==1.17.0
urllib3==2.5.0
Werkzeug==3.1.3
xmltodict==0.14.2
xmltodict==1.0.2
9 changes: 7 additions & 2 deletions tests/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,20 @@
import os
from pathlib import Path
from tempfile import TemporaryDirectory
from typing import Any
from typing import TYPE_CHECKING, Any
import unittest
import unittest.mock
import urllib.parse
import warnings

try:
import boto3 # noqa: F401
import botocore # noqa: F401
from dateutil.tz import tzlocal
from moto import mock_aws
from moto.sagemaker.models import FakePipelineExecution
from moto.sagemaker.responses import TYPE_RESPONSE, SageMakerResponse
import requests # noqa: F401
import urllib3 # noqa: F401
except ImportError:
allowed_to_skip = ("CI" not in os.environ)
if allowed_to_skip:
Expand All @@ -35,6 +37,9 @@
from examples.secrets import SecretVersion
from examples.xkcd import ComicVersion, XKCDResource

if TYPE_CHECKING:
from moto.sagemaker.responses import TYPE_RESPONSE, SageMakerResponse


def setUpModule() -> None:
"""Code to run before any single test in the module is run."""
Expand Down