Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,9 @@ extend-exclude = ["tests/fixtures", "__pycache__"]
target-version = "py310"
namespace-packages = ["docs", "tasks"]

[tool.ruff.pydocstyle]
convention = "numpy"

[tool.ruff.per-file-ignores]
"**/tests/*" = ["S101"] # Allow using asserts in tests

Expand Down
3 changes: 2 additions & 1 deletion src/aeromancy/aeroview.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

shell> pdm aeroview <Weights and Biases artifact name>
"""

import subprocess
from pathlib import Path

Expand Down Expand Up @@ -45,7 +46,7 @@ def view_aeromancy_uri(
local_path = s3_client.fetch(s3)
real_filename = Path(*aeromancy_uri.path)
match real_filename.suffix:
case ".yaml":
case ".json" | ".yaml":
subprocess.check_call(
[ # noqa: S607
"bat",
Expand Down