Skip to content

Commit

Permalink
style(lint): mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
shinybrar committed Oct 30, 2024
1 parent 514fda2 commit 1e96c68
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

```python
from skaha.models import ContainerRegistry

registry = ContainerRegistry()
```

Expand Down
2 changes: 1 addition & 1 deletion skaha/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def _check_secret(cls, value: str) -> str:
str: Validated value.
"""
if not value:
value = environ.get("SKAHA_REGISTRY_SECRET", None) # type: ignore
value = environ.get("SKAHA_REGISTRY_SECRET", None) # type: ignore
log.info("Using SKAHA_REGISTRY_SECRET from environment")
assert value, "secret is required"
return value
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1e96c68

Please sign in to comment.