Skip to content

Lots of improvements overall#2

Open
bubthegreat wants to merge 51 commits intoquixadhal:masterfrom
bubthegreat:master
Open

Lots of improvements overall#2
bubthegreat wants to merge 51 commits intoquixadhal:masterfrom
bubthegreat:master

Conversation

@bubthegreat
Copy link

@bubthegreat bubthegreat commented Dec 2, 2021

  • Adds standard python packaging structure
  • Adds basic framework for testing
  • Adds pre-commit hooks to keep linting, docstrings, whitespace, formatting, etc consistent
  • Adds github workflows for pytest
  • Various bug fixes
  • Removes legacy code
  • Fixes some of the relative import issues with data
  • Adds entrypoints from pip install to run the server with rom24

- Update pyproject.toml with all dependencies and metadata
- Remove setup.py and requirements.txt (replaced by pyproject.toml)
- Update all GitHub Actions workflows to use UV
- Add dev dependencies: ruff, pytest-xdist, pytest-cov
- Add comprehensive UV migration documentation
- Requires Python 3.12+ (down from 3.14)
- Use hatchling as build backend
- Configure ruff, black, mypy, and pytest in pyproject.toml
- Replace mypy with ty (Astral's new type checker) using uv commands
- Update .gitignore to exclude build artifacts, .venv, and .python-version
- Update GitHub workflow from mypy to ty
- Update tool configuration in pyproject.toml
- Update UV_MIGRATION.md documentation
- Changed from single multi-line log message to individual logger.info() calls
- Each statistic line now gets its own timestamp for troubleshooting
- Makes it easier to see timing of database loading operations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant