Skip to content

Feat: Set up Pre-commit Checks for API Server#114

Merged
RobertRosca merged 14 commits intomainfrom
feat/precommit
Jan 12, 2026
Merged

Feat: Set up Pre-commit Checks for API Server#114
RobertRosca merged 14 commits intomainfrom
feat/precommit

Conversation

@RobertRosca
Copy link
Copy Markdown
Member

@RobertRosca RobertRosca commented Nov 18, 2025

MR:

  • Sets up various pre-commit hooks for the API server.
  • Applies formatting fixes to the code to have the checks pass.
  • Sprinkles in some comments to disable type checks on problematic areas, with a TODO next to it to remember to go back later and fix the issues

Closes #119

@RobertRosca RobertRosca self-assigned this Nov 18, 2025
Copy link
Copy Markdown
Member

@CammilleCC CammilleCC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested it and works nicely, though I needed to add the pre-commit package and install via pre-commit install. Maybe you could add the package on the lint deps and supply instructions for the usage as well?

Base automatically changed from feat/uv-migrate to main January 12, 2026 14:25
@RobertRosca RobertRosca merged commit 259b86a into main Jan 12, 2026
@RobertRosca RobertRosca deleted the feat/precommit branch January 12, 2026 14:54
RobertRosca added a commit to RobertRosca/DAMNIT-web that referenced this pull request Jan 13, 2026
MR:

- Sets up various pre-commit hooks for the API server.
- Applies formatting fixes to the code to have the checks pass.
- Sprinkles in some comments to disable type checks on problematic
areas, with a `TODO` next to it to remember to go back later and fix the
issues

Closes European-XFEL#119
RobertRosca added a commit to RobertRosca/DAMNIT-web that referenced this pull request Jan 13, 2026
MR:

- Sets up various pre-commit hooks for the API server.
- Applies formatting fixes to the code to have the checks pass.
- Sprinkles in some comments to disable type checks on problematic
areas, with a `TODO` next to it to remember to go back later and fix the
issues

Closes European-XFEL#119
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.

Add repository pre-commit hooks

2 participants