Skip to content
Merged

Prek #149

Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Latest commit
env:
CACHE_VERSION: 1
DEFAULT_PYTHON: "3.14"
PRE_COMMIT_HOME: ~/.cache/pre-commit
PREK_HOME: ~/.cache/pre-commit
VENV: venv

on:
Expand Down Expand Up @@ -75,13 +75,12 @@ jobs:
pip install uv
uv venv --seed venv
. venv/bin/activate
uv pip install pre-commit -r requirements.txt -r requirements-test.txt
pre-commit install
pre-commit install-hooks
- name: Full pre-commit
uv pip install prek -r requirements.txt -r requirements-test.txt
prek install --install-hooks
- name: Full prek (pre-commit)
run: |
. venv/bin/activate
SKIP=no-commit-to-branch pre-commit run --show-diff-on-failure --color=always --all-files
SKIP=no-commit-to-branch prek run --show-diff-on-failure --color=always --all-files

pytest:
runs-on: ubuntu-latest
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to this project will be documented in this file.

## [0.6.2] - 2026-01-12

### Changed

- Migrated pre-commit to prek

## [0.6.1] - 2026-01-03

### Added
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "airos"
version = "0.6.1"
version = "0.6.2"
license = "MIT"
description = "Ubiquiti airOS module(s) for Python 3."
readme = "README.md"
Expand Down
Loading