Skip to content

Commit

Permalink
build: Codespell fix (#587)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielArndt authored Jan 17, 2025
1 parent 04333ff commit 1367df1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/charms/vault_k8s/v0/vault_kv.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ class VaultKvProviderEvents(ops.ObjectEvents):


class VaultKvProvides(ops.Object):
"""Class to be instanciated by the providing side of the relation."""
"""Class to be instantiated by the providing side of the relation."""

on = VaultKvProviderEvents() # type: ignore

Expand Down Expand Up @@ -516,7 +516,7 @@ class VaultKvRequireEvents(ops.ObjectEvents):


class VaultKvRequires(ops.Object):
"""Class to be instanciated by the requiring side of the relation."""
"""Class to be instantiated by the requiring side of the relation."""

on = VaultKvRequireEvents() # type: ignore

Expand Down
2 changes: 1 addition & 1 deletion lib/charms/vault_k8s/v0/vault_managers.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ def tls_file_available_in_charm(self, file: File) -> bool:
raise

def ca_certificate_is_saved(self) -> bool:
"""Return wether a CA cert and its private key are saved in the charm."""
"""Return whether a CA cert and its private key are saved in the charm."""
return self.ca_certificate_secret_exists() or self.tls_file_pushed_to_workload(File.CA)

def _restart_vault(self) -> None:
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ commands =
[testenv:lint]
description = Check code against coding style standards
commands =
codespell {tox_root}
codespell {[vars]all_path}
ruff check {[vars]all_path}
ruff format --check {[vars]all_path}

Expand Down

0 comments on commit 1367df1

Please sign in to comment.