Skip to content

update lock file

update lock file #36

Triggered via push October 24, 2023 10:04
Status Failure
Total duration 1m 5s
Artifacts

main.yaml

on: push
Matrix: test
Semantic Release
0s
Semantic Release
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
test (3.8)
Process completed with exit code 2.
pydantic_ssm_settings/source.py#L71
Unsupported target for indexed assignment ("Mapping[str, Optional[str]]") [index]
pydantic_ssm_settings/source.py#L36
Line too long (112 > 90 characters) (E501)
pydantic_ssm_settings/source.py#L71
Line too long (92 > 90 characters) (E501)
pydantic_ssm_settings/settings.py#L6
logger = logging.getLogger(__name__) class AwsSsmSettings(BaseSettings): - @classmethod def settings_customise_sources( cls, settings_cls: Type[BaseSettings], init_settings: PydanticBaseSettingsSource,
pydantic_ssm_settings/source.py#L31
ssm_prefix: Optional[Union[str, Path]] = None, case_sensitive: Optional[bool] = None, env_prefix: Optional[str] = None, env_nested_delimiter: Optional[str] = None, ) -> None: - self.ssm_prefix = ssm_prefix if ssm_prefix is not None else settings_cls.model_config.get('secrets_dir') + self.ssm_prefix = ( + ssm_prefix + if ssm_prefix is not None + else settings_cls.model_config.get("secrets_dir") + ) super().__init__(settings_cls, case_sensitive, env_prefix, env_nested_delimiter) def __repr__(self) -> str: return f"AwsSsmSettingsSource(ssm_prefix={self.ssm_prefix!r})"
pydantic_ssm_settings/source.py#L66
) for page in response_iterator: for parameter in page["Parameters"]: key = Path(parameter["Name"]).relative_to(self.ssm_path).as_posix() - output[key if self.case_sensitive else key.lower()] = parameter["Value"] + output[key if self.case_sensitive else key.lower()] = parameter[ + "Value" + ] except ClientError: logger.exception("Failed to get parameters from %s", str(self.ssm_path)) return output
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: wearerequired/lint-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/