Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
build(deps-dev): bump pre-commit from 2.21.0 to 3.6.0 (#80)
Browse files Browse the repository at this point in the history
* build(deps-dev): bump pre-commit from 2.21.0 to 3.6.0

Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.21.0 to 3.6.0.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](pre-commit/pre-commit@v2.21.0...v3.6.0)

---
updated-dependencies:
- dependency-name: pre-commit
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* ci(github): add job to check precommit hooks

* ci(github): Align precommit version

* build(deps): update poetry lock

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: F-G Fernandez <[email protected]>
  • Loading branch information
dependabot[bot] and frgfm authored Feb 4, 2024
1 parent 84aa15d commit 756892b
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 27 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,31 @@ jobs:
run: |
ruff --version
ruff format --check --diff .
precommit-hooks:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python: [3.9]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
architecture: x64
- uses: abatilo/actions-poetry@v3
with:
poetry-version: "1.7.1"
- name: Resolve dependencies
run: poetry export -f requirements.txt --without-hashes --only quality --output requirements.txt
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run pre-commit hooks
run: |
git checkout -b temp
pre-commit install
pre-commit --version
pre-commit run --all-files
31 changes: 5 additions & 26 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ mypy = "==1.8.0"
types-requests = ">=2.0.0"
types-python-jose = ">=3.3.0"
types-passlib = ">=1.7.0"
pre-commit = "^2.17.0"
pre-commit = "^3.6.0"

[tool.poetry.group.test]
optional = true
Expand Down

0 comments on commit 756892b

Please sign in to comment.