Skip to content

Commit

Permalink
use python 3.10 for pre-commit to avoid deprecation issue form pydocs…
Browse files Browse the repository at this point in the history
…tyle
  • Loading branch information
vincentsarago committed Apr 22, 2024
1 parent 775b970 commit 96c3736
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cicd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
branches: [main]

env:
LATEST_PY_VERSION: '3.11'
LATEST_PY_VERSION: '3.10'

jobs:
test:
Expand Down
3 changes: 3 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ repos:
hooks:
- id: isort
language_version: python

- repo: https://github.com/psf/black
rev: 22.12.0
hooks:
- id: black
args: ["--safe"]
language_version: python

- repo: https://github.com/pycqa/flake8
rev: 6.0.0
hooks:
Expand Down Expand Up @@ -42,6 +44,7 @@ repos:
# - id: mypy
# language_version: python3.8
# args: [--no-strict-optional, --ignore-missing-imports]

- repo: https://github.com/PyCQA/pydocstyle
rev: 6.3.0
hooks:
Expand Down

0 comments on commit 96c3736

Please sign in to comment.