Skip to content

chore: add pre-commit hooks (ruff) - #16

Merged
ayoub3bidi merged 1 commit into
mainfrom
feat/pre-commit
May 30, 2026
Merged

chore: add pre-commit hooks (ruff)#16
ayoub3bidi merged 1 commit into
mainfrom
feat/pre-commit

Conversation

@ayoub3bidi

Copy link
Copy Markdown
Owner

Adds .pre-commit-config.yaml with ruff check --fix and ruff-format matching requirements.txt v0.8.4.

Made with Cursor

@ayoub3bidi
ayoub3bidi force-pushed the feat/admin-auth-fix branch from 8be89b6 to 53c379f Compare May 30, 2026 08:44
Base automatically changed from feat/admin-auth-fix to main May 30, 2026 08:47
Co-authored-by: Cursor <cursoragent@cursor.com>
@ayoub3bidi

Copy link
Copy Markdown
Owner Author

Branch cleanup

Reset to main and cherry-picked only the pre-commit commit (.pre-commit-config.yaml only — 1 file).

Verification

Check Result
docker compose run mercury_linter (ruff check, CI-equivalent) All checks passed
pre-commit run --all-files (venv) ruff passed; ruff-format would reformat 10 files on first run (format-only; not included in this PR)
Fresh Docker API stack Flyway OK, logs clean
GET /v1/health 200
POST /v1/token 200

Config pins ruff-pre-commit at v0.8.4, matching requirements.txt.

Ready to merge.

@ayoub3bidi
ayoub3bidi merged commit 13429c9 into main May 30, 2026
3 checks passed
@ayoub3bidi
ayoub3bidi deleted the feat/pre-commit branch May 30, 2026 08:54
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