Skip to content
This repository was archived by the owner on May 14, 2026. It is now read-only.

Commit e29b40a

Browse files
committed
some final fixes
1 parent d7f4135 commit e29b40a

6 files changed

Lines changed: 20 additions & 16 deletions

File tree

core/map/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
def main():
1+
def main() -> None:
22
print("Hello from jet-lag-munich!")
33

44

mise.toml

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,6 @@ uv sync --dev
2929
echo "✅ Project setup complete!"
3030
"""
3131

32-
[tasks."format:ruff"]
33-
description = "Format code with ruff"
34-
run = "uv run ruff format ."
35-
36-
[tasks."format:ssort"]
37-
description = "Format code with ssort"
38-
run = "uv run ssort ."
39-
4032
[tasks.format]
4133
run = "dprint fmt"
4234

@@ -74,21 +66,21 @@ echo "✅ Project setup complete!"
7466

7567
[tasks.test]
7668
description = "Run tests with pytest"
77-
run = "uv run pytest -q"
69+
run = "uv run pytest"
7870

79-
[tasks.test-verbose]
71+
[tasks."test:verbose"]
8072
description = "Run tests with verbose output"
8173
run = "uv run pytest -vv"
8274

83-
[tasks.test-cov]
75+
[tasks."test:cov"]
8476
description = "Run tests with coverage"
8577
run = "uv run pytest --cov=core --cov=apps --cov=storage --cov-report=term-missing"
8678

87-
[tasks.test-unit]
79+
[tasks."test:unit"]
8880
description = "Run unit tests only"
8981
run = "uv run pytest -m unit"
9082

91-
[tasks.test-integration]
83+
[tasks."test:integration"]
9284
description = "Run integration tests only"
9385
run = "uv run pytest -m integration"
9486

@@ -110,6 +102,7 @@ rm -rf htmlcov/
110102
rm -rf .mypy_cache/
111103
find . -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null || true
112104
find . -type f -name "*.pyc" -delete
105+
uv clean
113106
echo "✅ Cleaned project artifacts"
114107
"""
115108

@@ -118,4 +111,4 @@ echo "✅ Cleaned project artifacts"
118111
run = "uv build"
119112

120113
[tasks.cli]
121-
run = "uv run trader-cli"
114+
run = "uv run cli"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
[tool.pytest.ini_options]
3838
minversion = "8.0"
39-
testpaths = ["tests/unit", "tests/integration"]
39+
testpaths = ["tests/"]
4040
pythonpath = ["."]
4141
addopts = ["-ra", "--strict-markers", "--strict-config", "--showlocals", "-q"]
4242
markers = ["slow: marks tests as slow (deselect with '-m \"not slow\"')"]

taplo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ exclude = ["**/node_modules/**/*.toml", "**/.venv/**/*.toml"]
55
indent_tables = true
66
indent_entries = true
77

8+
[[rule]]
9+
include = ["**/ty.toml", "**/.toolchain/python/ty/**/*.toml"]
10+
11+
[rule.schema]
12+
path = "https://raw.githubusercontent.com/astral-sh/ruff/refs/heads/main/ty.schema.json"
13+
814
[[rule]]
915
include = ["**/ruff.toml", "**/.toolchain/python/ruff/**/*.toml"]
1016

tests/map/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__all__ = []

tests/map/test_main.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
def test_main():
2+
from core.map.main import main
3+
4+
main()

0 commit comments

Comments
 (0)