uv config

This commit is contained in:
2026-03-15 16:20:04 +01:00
parent 9f5b15b65b
commit 28b92ab7ee
3 changed files with 32 additions and 11 deletions
+5 -5
View File
@@ -1,7 +1,7 @@
install:
uv sync
run:
run: install
uv run python3 a_maze_ing.py config.txt
debug:
@@ -11,9 +11,9 @@ clean:
rm -rf __pycache__ .mypy_cache
lint:
uv run python3 -m flake8 .
uv run python3 -m mypy . --warn-return-any --warn-unused-ignores --ignore-missing-imports --disallow-untyped-defs --check-untyped-defs
uv run flake8 .
uv run mypy . --warn-return-any --warn-unused-ignores --ignore-missing-imports --disallow-untyped-defs --check-untyped-defs
lint-strict:
uv run python3 -m flake8 .
uv run python3 -m mypy . --strict
uv run flake8 .
uv run mypy . --strict
+15 -2
View File
@@ -5,8 +5,21 @@ description = "This is the way"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"flake8>=7.3.0",
"mypy>=1.19.1",
"numpy>=2.2.6",
"pydantic>=2.12.5",
]
[dependency-groups]
dev = [
"mypy>=1.19.1",
"flake8>=7.3.0",
]
[tool.mypy]
python_version = "3.10"
exclude = [
".venv",
"venv",
]
Generated
+12 -4
View File
@@ -11,21 +11,29 @@ name = "a-maze-ing"
version = "0.1.0"
source = { virtual = "." }
dependencies = [
{ name = "flake8" },
{ name = "mypy" },
{ name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" },
{ name = "numpy", version = "2.4.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" },
{ name = "pydantic" },
]
[package.dev-dependencies]
dev = [
{ name = "flake8" },
{ name = "mypy" },
]
[package.metadata]
requires-dist = [
{ name = "flake8", specifier = ">=7.3.0" },
{ name = "mypy", specifier = ">=1.19.1" },
{ name = "numpy", specifier = ">=2.2.6" },
{ name = "pydantic", specifier = ">=2.12.5" },
]
[package.metadata.requires-dev]
dev = [
{ name = "flake8", specifier = ">=7.3.0" },
{ name = "mypy", specifier = ">=1.19.1" },
]
[[package]]
name = "annotated-types"
version = "0.7.0"