Skip to content

Commit

Permalink
Upgrade a bunch of things, add Python 3.11-3.12
Browse files Browse the repository at this point in the history
commit-id:fefd6899
  • Loading branch information
dhalperi committed Jul 23, 2024
1 parent 40e6e39 commit ff8e98c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pre-commit-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: pre-commit/action@v3.0.0
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: pre-commit/action@v3.0.1
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v3
Expand Down
18 changes: 9 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/psf/black
rev: 22.3.0
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.4.2
hooks:
- id: black
exclude: netconan/default_reserved_words.py
- repo: https://github.com/pre-commit/mirrors-isort
rev: v5.7.0
language_version: "3.12"
- repo: https://github.com/PyCQA/isort
rev: 5.13.2
hooks:
- id: isort
# args from https://black.readthedocs.io/en/stable/compatible_configs.html#isort
args: ["--multi-line=3", "--trailing-comma", "--force-grid-wrap=0", "--use-parentheses", "--ensure-newline-before-comments", "--line-length=88"]
args: ["--profile=black"]
exclude: netconan/default_reserved_words.py
- repo: https://github.com/humitos/mirrors-autoflake.git
rev: v1.3
- repo: https://github.com/PyCQA/autoflake
rev: v2.3.1
hooks:
- id: autoflake
args: ["--in-place", "--remove-all-unused-imports", "--remove-unused-variables"]
exclude: netconan/default_reserved_words.py
- repo: https://github.com/pycqa/flake8
rev: 3.8.4
rev: 7.1.0
hooks:
- id: flake8
additional_dependencies: [flake8-docstrings]

0 comments on commit ff8e98c

Please sign in to comment.