Skip to content

Python improvements #197

@Timmmm

Description

@Timmmm

Since #196 this repo has some Python code, and to make Python development vaguely pleasant there are some things I always recommend:

  • Use Ruff in CI to format & lint the code. This can be done via pre-commit.
  • Use Pyright in CI to type check the code. This can be done via pre-commit but I wouldn't recommend it because it doesn't support setting up the venv first.
  • Use Pydantic to load data.
  • Use Typer for CLI parsing.
  • Use pyproject.toml and uv for running the code.

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions