diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 773064b..7cc1df7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,7 +17,7 @@ repos: - id: autopep8 exclude: docs/source/conf.py - repo: https://github.com/pycqa/isort - rev: 7.0.0 + rev: 8.0.1 hooks: - id: isort - repo: https://github.com/jumanjihouse/pre-commit-hooks @@ -28,12 +28,12 @@ repos: - id: forbid-binary exclude: docs/source/_static/.*.png - repo: https://github.com/Lucas-C/pre-commit-hooks - rev: v1.5.5 + rev: v1.5.6 hooks: - id: forbid-crlf - id: forbid-tabs - repo: https://github.com/streetsidesoftware/cspell-cli - rev: v9.4.0 + rev: v9.8.0 hooks: - id: cspell exclude: \.gitignore|.*\.properties @@ -55,12 +55,12 @@ repos: - id: pyroma args: ["-d", "--min=10", "."] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.19.1 + rev: v1.20.1 hooks: - id: mypy additional_dependencies: ["types-docutils", "types-python-dateutil", "types-requests"] - repo: "https://github.com/python-jsonschema/check-jsonschema" - rev: "0.36.0" + rev: "0.37.1" hooks: - id: check-github-workflows - repo: https://github.com/johannsdg/pre-commit-license-headers diff --git a/concoursetools/metadata.py b/concoursetools/metadata.py index dd4f855..0c2693c 100644 --- a/concoursetools/metadata.py +++ b/concoursetools/metadata.py @@ -10,7 +10,7 @@ Build metadata is deliberately not passed to :meth:`~concoursetools.resource.ConcourseResource.fetch_new_versions`, as none of this metadata is passed to the check environment by Concourse, to avoid antipatterns. -See the Concourse :concourse:`resource types metadata ` documentation +See the Concourse :concourse:`resource types metadata ` documentation for more information. """ from __future__ import annotations @@ -172,7 +172,7 @@ def format_string(self, string: str, additional_values: dict[str, str] | None = Format a string with metadata using standard bash ``$`` notation. Only a handful of "safe" values will be interpolated, not arbitrary attributes on the instance. - These are the :concourse:`original environment variables `, + These are the :concourse:`original environment variables `, including :attr:`BUILD_CREATED_BY` if it exists. object missing environment variable (such as in the case of a one-off build) will be empty. A ``$BUILD_URL`` variable is also added for ease. diff --git a/docs/requirements.txt b/docs/requirements.txt index d3fa0a0..4667747 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -2,22 +2,22 @@ accessible-pygments==0.0.5 alabaster==1.0.0 babel==2.18.0 beautifulsoup4==4.14.3 -certifi==2026.1.4 -charset-normalizer==3.4.4 +certifi==2026.2.25 +charset-normalizer==3.4.7 docutils==0.22.4 furo==2025.12.19 idna==3.11 -imagesize==1.4.1 +imagesize==2.0.0 Jinja2==3.1.6 MarkupSafe==3.0.3 -packaging==26.0 -Pygments==2.19.2 -requests==2.32.5 +packaging==26.1 +Pygments==2.20.0 +requests==2.33.1 roman-numerals==4.1.0 snowballstemmer==3.0.1 soupsieve==2.8.3 Sphinx==9.1.0 -sphinx-autodoc-typehints==3.6.3 +sphinx-autodoc-typehints==3.10.1 sphinx-basic-ng==1.0.0b2 sphinxcontrib-applehelp==2.0.0 sphinxcontrib-devhelp==2.0.0 diff --git a/docs/source/changelog/0.8.0.rst b/docs/source/changelog/0.8.0.rst index e7fc7ce..b426682 100644 --- a/docs/source/changelog/0.8.0.rst +++ b/docs/source/changelog/0.8.0.rst @@ -55,7 +55,7 @@ Build Metadata string formatting Both :meth:`~concoursetools.resource.ConcourseResource.download_version` and :meth:`~concoursetools.resource.ConcourseResource.publish_new_version` methods are passed an instance of :class:`~concoursetools.metadata.BuildMetadata` to interface with the -:concourse:`resource metadata `. This allows developers to easily interface with +:concourse:`resource metadata `. This allows developers to easily interface with this metadata from within the resource code. However, many resources want to make this metadata available to the end user in their pipelines, by allowing them to diff --git a/requirements-tests.txt b/requirements-tests.txt index 7cbbac5..1784c2d 100644 --- a/requirements-tests.txt +++ b/requirements-tests.txt @@ -1,21 +1,21 @@ -boto3==1.42.53 -botocore==1.42.53 -certifi==2026.1.4 +boto3==1.42.89 +botocore==1.42.89 +certifi==2026.2.25 cffi==2.0.0 -charset-normalizer==3.4.4 -cryptography==46.0.5 +charset-normalizer==3.4.7 +cryptography==46.0.7 idna==3.11 Jinja2==3.1.6 jmespath==1.1.0 MarkupSafe==3.0.3 -moto==5.1.21 +moto==5.1.22 pycparser==3.0 python-dateutil==2.9.0.post0 PyYAML==6.0.3 -requests==2.32.5 +requests==2.33.1 responses==0.26.0 s3transfer==0.16.0 six==1.17.0 urllib3==2.6.3 -Werkzeug==3.1.6 -xmltodict==1.0.3 +Werkzeug==3.1.8 +xmltodict==1.0.4