Skip to content

Commit

Permalink
Merge branch 'release/0.5.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
stumpylog committed Feb 6, 2024
2 parents 65d5188 + 024b72d commit 9255a1b
Show file tree
Hide file tree
Showing 10 changed files with 136 additions and 121 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
-
name: Get latest release info
id: query-release-info
uses: release-flow/keep-a-changelog-action@v2
uses: release-flow/keep-a-changelog-action@v3
with:
command: query
version: ${{ github.ref_name }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ jobs:
uses: actions/checkout@v4
-
name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: "python"
-
name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ repos:
- id: check-case-conflict
- id: detect-private-key
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v3.0.3"
rev: "v3.1.0"
hooks:
- id: prettier
types_or:
Expand All @@ -36,10 +36,10 @@ repos:
exclude: "(^Pipfile\\.lock$)"
# Python hooks
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 'v0.1.4'
rev: 'v0.2.1'
hooks:
- id: ruff
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.10.1
rev: 24.1.1
hooks:
- id: black
8 changes: 5 additions & 3 deletions .ruff.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
# https://beta.ruff.rs/docs/settings/
# https://beta.ruff.rs/docs/rules/
extend-select = ["I", "W", "UP", "COM", "EXE", "ISC", "ICN", "G201", "INP", "PIE", "RSE", "SIM", "TID", "PLC", "PLE", "RUF", "PTH"]
fix = true
line-length = 110
respect-gitignore = true
target-version = "py310"
output-format = "grouped"
show-fixes = true

[isort]
[lint]
# https://docs.astral.sh/ruff/rules/
extend-select = ["F", "E", "W", "I", "UP", "COM", "EXE", "ISC", "ICN", "G201", "INP", "PIE", "RSE", "SIM", "TID", "PLC", "PLE", "RUF", "PTH"]

[lint.isort]
force-single-line = true
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.5.0] - 2024-02-06

### Changed

- Updated `pipenv` from 2023.10.24 to 2023.12.1
- Updated `httpx` from 0.25.1 to 0.26.0
- Updated development tool versions

## [0.4.0] - 2023-11-06

### Changed
Expand Down
218 changes: 111 additions & 107 deletions Pipfile.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ephemeral/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ runs:
name: Install pipenv
shell: bash
run: |
pip3 --quiet install --user pipenv==2023.10.24
pip3 --quiet install --user pipenv==2023.12.1
-
name: Install dependencies
shell: bash
Expand Down
1 change: 1 addition & 0 deletions github/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
is cleaning up container images which are no longer referred to.
"""

import logging
from http import HTTPStatus

Expand Down
6 changes: 3 additions & 3 deletions github/packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ class GithubContainerRegistryOrgApi(_GithubContainerRegistryApiBase):
PACKAGE_VERSIONS_ENDPOINT = (
"/orgs/{ORG}/packages/{PACKAGE_TYPE}/{PACKAGE_NAME}/versions"
)
PACKAGE_VERSION_DELETE_ENDPOINT = "/orgs/{ORG}/packages/{PACKAGE_TYPE}/{PACKAGE_NAME}/versions/{PACKAGE_VERSION_ID}"
PACKAGE_VERSION_RESTORE_ENDPOINT = "/orgs/{ORG}/packages/{PACKAGE_TYPE}/{PACKAGE_NAME}/versions/{PACKAGE_VERSION_ID}/restore"
PACKAGE_VERSION_DELETE_ENDPOINT = "/orgs/{ORG}/packages/{PACKAGE_TYPE}/{PACKAGE_NAME}/versions/{PACKAGE_VERSION_ID}" # noqa: E501
PACKAGE_VERSION_RESTORE_ENDPOINT = "/orgs/{ORG}/packages/{PACKAGE_TYPE}/{PACKAGE_NAME}/versions/{PACKAGE_VERSION_ID}/restore" # noqa: E501


class GithubContainerRegistryUserApi(_GithubContainerRegistryApiBase):
Expand All @@ -199,4 +199,4 @@ class GithubContainerRegistryUserApi(_GithubContainerRegistryApiBase):
PACKAGE_VERSION_DELETE_ENDPOINT = (
"/user/packages/{PACKAGE_TYPE}/{PACKAGE_NAME}/versions/{PACKAGE_VERSION_ID}"
)
PACKAGE_VERSION_RESTORE_ENDPOINT = "/user/packages/{PACKAGE_TYPE}/{PACKAGE_NAME}/versions/{PACKAGE_VERSION_ID}/restore"
PACKAGE_VERSION_RESTORE_ENDPOINT = "/user/packages/{PACKAGE_TYPE}/{PACKAGE_NAME}/versions/{PACKAGE_VERSION_ID}/restore" # noqa: E501
2 changes: 1 addition & 1 deletion untagged/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ runs:
name: Install pipenv
shell: bash
run: |
pip3 --quiet install --user pipenv==2023.10.24
pip3 --quiet install --user pipenv==2023.12.1
-
name: Install dependencies
shell: bash
Expand Down

0 comments on commit 9255a1b

Please sign in to comment.