Skip to content

Commit

Permalink
Bump actions/setup-python from 4 to 5 (#95)
Browse files Browse the repository at this point in the history
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Dec 9, 2023
1 parent f8dbab6 commit 4b27766
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 15 deletions.
5 changes: 5 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
changelog:
exclude:
authors:
- dependabot
- pre-commit-ci
3 changes: 2 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ jobs:
with:
fetch-depth: 0
- name: Setup python for test ${{ matrix.py }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
cache: "pip"
with:
python-version: ${{ matrix.py }}
- name: Install self
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ jobs:
id-token: write
steps:
- name: Setup python to build package
uses: actions/setup-python@v4
uses: actions/setup-python@v5
cache: "pip"
with:
python-version: "3.11"
- name: Install build
Expand Down
9 changes: 2 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.1.6"
rev: "v0.1.7"
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand All @@ -22,12 +22,7 @@ repos:
rev: "1.5.3"
hooks:
- id: pyproject-fmt
additional_dependencies: ["tox>=4.11.2"]
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v4.0.0-alpha.3"
hooks:
- id: prettier
args: ["--print-width=120", "--prose-wrap=always"]
additional_dependencies: ["tox>=4.11.4"]
- repo: meta
hooks:
- id: check-hooks-apply
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[build-system]
build-backend = "hatchling.build"
requires = [
"hatch-vcs>=0.3",
"hatch-vcs>=0.4",
"hatchling>=1.18",
]

Expand Down Expand Up @@ -38,14 +38,14 @@ dynamic = [
"version",
]
dependencies = [
"tox>=4.11.2",
"tox>=4.11.4",
]
optional-dependencies.test = [
"covdefaults>=2.3",
"devpi-process>=1",
"pytest>=7.4.2",
"pytest>=7.4.3",
"pytest-cov>=4.1",
"pytest-mock>=3.11.1",
"pytest-mock>=3.12",
]
urls.Documentation = "https://github.com/tox-dev/tox-gh#tox-gh"
urls.Homepage = "https://github.com/tox-dev/tox-gh"
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ commands =
description = run static analysis and style check using flake8
skip_install = true
deps =
pre-commit>=3.4
pre-commit>=3.5
pass_env =
HOMEPATH
PROGRAMDATA
Expand All @@ -43,7 +43,7 @@ commands =
[testenv:type]
description = run type check on code base
deps =
mypy==1.5.1
mypy==1.7.1
set_env =
{tty:MYPY_FORCE_COLOR = 1}
commands =
Expand Down

0 comments on commit 4b27766

Please sign in to comment.