Skip to content

Commit

Permalink
Fixes Ruff configuration file
Browse files Browse the repository at this point in the history
  • Loading branch information
stumpylog committed Nov 6, 2023
1 parent de7484d commit 8362ff0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ fix = true
line-length = 110
respect-gitignore = true
target-version = "py310"
format = "grouped"
output-format = "grouped"
show-fixes = true

[isort]
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Bump httpx from 0.25.0 to 0.25.1
- Bump ruff from 0.0.292 to 0.1.0
- Updated `pipenv` from 2023.9.1 to 2023.10.24
- Fixed Ruff configuration
- Basically, dependencies were updated

## [0.3.0] - 2023-09-05
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}" # noqa: E501
PACKAGE_VERSION_RESTORE_ENDPOINT = "/orgs/{ORG}/packages/{PACKAGE_TYPE}/{PACKAGE_NAME}/versions/{PACKAGE_VERSION_ID}/restore" # noqa: E501
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"


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" # noqa: E501
PACKAGE_VERSION_RESTORE_ENDPOINT = "/user/packages/{PACKAGE_TYPE}/{PACKAGE_NAME}/versions/{PACKAGE_VERSION_ID}/restore"

0 comments on commit 8362ff0

Please sign in to comment.