Skip to content

Commit

Permalink
chore: Run pre-commit on Python 3.8 (#2565)
Browse files Browse the repository at this point in the history
* Run pre-commit on Python 3.8
* fix codespell

---------

Signed-off-by: Janek Nouvertné <[email protected]>
  • Loading branch information
provinzkraut authored Oct 30, 2023
1 parent 34e70bb commit dee35d4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,10 @@ jobs:

- uses: actions/setup-python@v4
with:
python-version: "3.12"
allow-prereleases: true
python-version: "3.8"

- name: Install Pre-Commit
run: python -m pip install pre-commit && pre-commit install
run: python -m pip install pre-commit

- name: Load cached Pre-Commit Dependencies
id: cached-pre-commit-dependencies
Expand Down
6 changes: 4 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
default_language_version:
python: "3.12"
python: "3.8"
repos:
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v2.4.0
Expand All @@ -18,7 +18,7 @@ repos:
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/provinzkraut/unasyncd
rev: "v0.6.1"
rev: "v0.7.1"
hooks:
- id: unasyncd
additional_dependencies: ["ruff"]
Expand All @@ -32,6 +32,8 @@ repos:
hooks:
- id: codespell
exclude: "tests/openapi/typescript_converter/test_converter|README.md"
additional_dependencies:
- tomli
- repo: https://github.com/psf/black
rev: 23.10.1
hooks:
Expand Down

0 comments on commit dee35d4

Please sign in to comment.