audio streaming app plyr.fm
at 18222b21d26886e0303aef5ccb949c8d30600467 70 lines 1.9 kB view raw
1fail_fast: false 2 3repos: 4 - repo: https://github.com/jakekaplan/loq 5 rev: v0.1.0-alpha.7 6 hooks: 7 - id: loq 8 9 - repo: https://github.com/abravalheri/validate-pyproject 10 rev: v0.24.1 11 hooks: 12 - id: validate-pyproject 13 files: ^backend/pyproject\.toml$ 14 15 - repo: https://github.com/pre-commit/mirrors-prettier 16 rev: v3.1.0 17 hooks: 18 - id: prettier 19 types_or: [yaml, json5] 20 21 - repo: https://github.com/astral-sh/ruff-pre-commit 22 rev: v0.12.1 23 hooks: 24 - id: ruff-check 25 args: [--fix, --exit-non-zero-on-fix] 26 - id: ruff-format 27 28 - repo: local 29 hooks: 30 - id: type-check 31 name: type check 32 entry: bash -c 'cd backend && uv run ty check' 33 language: system 34 types: [python] 35 pass_filenames: false 36 37 - id: svelte-check 38 name: svelte check 39 entry: bash -c 'cd frontend && bun run check' 40 language: system 41 files: ^frontend/ 42 pass_filenames: false 43 44 - id: eslint 45 name: eslint 46 entry: bash -c 'cd frontend && bun run lint' 47 language: system 48 files: ^frontend/.*\.(ts|svelte)$ 49 pass_filenames: false 50 51 - id: cargo-check-moderation 52 name: cargo check (moderation) 53 entry: bash -c 'cd services/moderation && cargo check --quiet' 54 language: system 55 files: ^services/moderation/.*\.rs$ 56 pass_filenames: false 57 58 - id: cargo-check-transcoder 59 name: cargo check (transcoder) 60 entry: bash -c 'cd services/transcoder && cargo check --quiet' 61 language: system 62 files: ^services/transcoder/.*\.rs$ 63 pass_filenames: false 64 65 - repo: https://github.com/pre-commit/pre-commit-hooks 66 rev: v6.0.0 67 hooks: 68 - id: no-commit-to-branch 69 name: prevent commits to main 70 args: [--branch, main]