refactor: standardize codebase formatting, optimize import orders, and update GUI resolution to 1080p
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user