Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Commit

Permalink
Bump version to 1.3.0 (#51)
Browse files Browse the repository at this point in the history
* Bump version to 1.3.0

* fix linting issues
  • Loading branch information
jdkandersson authored Oct 1, 2024
1 parent 52676dd commit 01e0f88
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions paas_app_charmer/framework.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ def secret_key_id(cls, data: dict[str, str | int | bool | dict[str, str] | None]
ValueError: if the *-secret-key-id is invalid.
NotImplementedError: ill-formed subclasses.
"""
secret_key_field = "secret_key"
# Bandit thinks the following are secrets which they are not
secret_key_field = "secret_key" # nosec B105
if secret_key_field not in cls.model_fields:
secret_key_field = "app_secret_key"
secret_key_field = "app_secret_key" # nosec B105
secret_key_config_name = cls.model_fields[secret_key_field].alias
if not secret_key_config_name:
raise NotImplementedError("framework configuration secret_key field has no alias")
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# See LICENSE file for licensing details.
[project]
name = "paas-app-charmer"
version = "1.2.0"
version = "1.3.0"
description = "Companion library for PaaS app charmer."
readme = "README.md"
authors = [
Expand Down

0 comments on commit 01e0f88

Please sign in to comment.