diff options
| author | natsuoto <[email protected]> | 2026-04-28 15:26:33 +0530 |
|---|---|---|
| committer | natsuoto <[email protected]> | 2026-04-28 15:36:19 +0530 |
| commit | f157f96ad730fc7407c192a17aec4b5e23d7e137 (patch) | |
| tree | 6e64299efaec6eff2b64e0722885665e70194662 /.github | |
| parent | 9fdc8c066cd19d7d1e9397890589d0e157b92553 (diff) | |
| download | edify-f157f96ad730fc7407c192a17aec4b5e23d7e137.tar.xz edify-f157f96ad730fc7407c192a17aec4b5e23d7e137.zip | |
chore: modernize pre-commit hook configuration
The pre-commit config was broken on three fronts:
- `rev: main` / `rev: master` is rejected by modern pre-commit, which
requires immutable tags (or a SHA) so hook versions are reproducible.
- `gitlab.com/pycqa/flake8` was archived years ago. flake8 now lives at
`github.com/PyCQA/flake8`.
- `timothycrosley/isort` was renamed to `PyCQA/isort` and the old path
no longer resolves reliably.
Pin every hook to its current latest release and replace `psf/black` with
`psf/black-pre-commit-mirror`, the upstream-recommended mirror that ships
without black's full dependency tree (faster hook installs).
- pre-commit/pre-commit-hooks → v6.0.0
- PyCQA/isort → 8.0.1
- psf/black-pre-commit-mirror → 26.3.1
- PyCQA/flake8 → 7.3.0
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions
