chore: add pre-commit hook with ruff and pytest
- Add git pre-commit hook running ruff check, ruff format, pytest - Fix import ordering in conftest.py - Add placeholder test for test infrastructure - Generate flake.lock 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -15,14 +15,10 @@ def main():
|
||||
|
||||
# migrate command
|
||||
migrate_parser = subparsers.add_parser("migrate", help="Run database migrations")
|
||||
migrate_parser.add_argument(
|
||||
"--to", type=str, help="Migrate to specific version", default=None
|
||||
)
|
||||
migrate_parser.add_argument("--to", type=str, help="Migrate to specific version", default=None)
|
||||
|
||||
# create-migration command
|
||||
create_parser = subparsers.add_parser(
|
||||
"create-migration", help="Create a new migration file"
|
||||
)
|
||||
create_parser = subparsers.add_parser("create-migration", help="Create a new migration file")
|
||||
create_parser.add_argument("description", help="Description for the migration")
|
||||
|
||||
# seed command
|
||||
|
||||
Reference in New Issue
Block a user