refactor: standardize codebase formatting, optimize import orders, and update GUI resolution to 1080p

This commit is contained in:
jack
2026-06-18 13:13:47 -07:00
parent 8ad2a9b972
commit 66942d250d
32 changed files with 453 additions and 120 deletions
+27
View File
@@ -17,6 +17,7 @@ dependencies = [
"matplotlib>=3.7.0",
"scipy>=1.17.1",
"pyyaml>=6.0.3",
"dtw-python",
]
[project.optional-dependencies]
@@ -88,6 +89,8 @@ files = [
[dependency-groups]
dev = [
"pytest>=9.0.3",
"ruff",
"mypy",
]
[tool.uv]
@@ -96,3 +99,27 @@ environments = [
"sys_platform == 'win32'",
"sys_platform == 'linux'",
]
# ===== Ruff Linter and Formatter =====
[tool.ruff]
target-version = "py311"
line-length = 100
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort (import sorting)
"N", # pep8-naming
]
ignore = []
# ===== Mypy Static Type Checker =====
[tool.mypy]
python_version = "3.11"
check_untyped_defs = true
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true