Migrate pre-commit hooks from pre-commit to prek
Replace the Python-based pre-commit framework with prek (Rust) for faster hook execution. Convert .pre-commit-config.yaml to prek.toml, remove pre-commit from dev dependencies, and apply ruff auto-fixes (UP037: remove unnecessary string quotes in type annotations). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -28,12 +28,12 @@ class Encounter(Base):
|
||||
DateTime(timezone=True), server_default=func.now()
|
||||
)
|
||||
|
||||
run: Mapped["NuzlockeRun"] = relationship(back_populates="encounters")
|
||||
route: Mapped["Route"] = relationship(back_populates="encounters")
|
||||
pokemon: Mapped["Pokemon"] = relationship(
|
||||
run: Mapped[NuzlockeRun] = relationship(back_populates="encounters")
|
||||
route: Mapped[Route] = relationship(back_populates="encounters")
|
||||
pokemon: Mapped[Pokemon] = relationship(
|
||||
foreign_keys=[pokemon_id], back_populates="encounters"
|
||||
)
|
||||
current_pokemon: Mapped["Pokemon | None"] = relationship(
|
||||
current_pokemon: Mapped[Pokemon | None] = relationship(
|
||||
foreign_keys=[current_pokemon_id]
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user