Skip to content

Feature/pre commit test integration#15

Merged
thommodin merged 5 commits into
mainfrom
feature/pre-commit-test-integration
May 27, 2026
Merged

Feature/pre commit test integration#15
thommodin merged 5 commits into
mainfrom
feature/pre-commit-test-integration

Conversation

@thommodin
Copy link
Copy Markdown
Contributor

This pull request introduces several improvements to code organization, dependency management, and developer workflow. The changes focus on standardizing import order, enhancing pre-commit and CI workflows, and making minor code cleanups for consistency and maintainability.

Developer workflow and CI improvements:

  • Added new pre-commit hooks for linting, formatting, requirements export, and Docker image testing in .pre-commit-config.yaml. This includes a new docker-test hook that runs on pre-push.
  • Introduced an init target in the Makefile to automate pre-commit installation and hook setup, and improved the test-image target with additional logging.
  • Updated the CI workflow in .github/workflows/ci.yml to use ruff with --extend-select I, ensuring import order is checked.
  • Added a [tool.ruff.lint] section to pyproject.toml to enforce import order checks (extend-select = ["I"]).

Code organization and import order:

These updates will help maintain a consistent codebase, catch import order issues early, and streamline development with improved automation.

@thommodin thommodin merged commit d8975f3 into main May 27, 2026
1 check passed
@thommodin thommodin deleted the feature/pre-commit-test-integration branch May 27, 2026 06:55
@thommodin thommodin restored the feature/pre-commit-test-integration branch May 28, 2026 03:48
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