Skip to content

Commit

Permalink
Bump actions/setup-python from 4 to 5 (#408)
Browse files Browse the repository at this point in the history
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
  • Loading branch information
dependabot[bot] authored and gaborbernat committed Dec 9, 2023
1 parent 9fa846f commit 6ba0fa3
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 22 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
steps:
- name: Setup python for tox
uses: actions/setup-python@v5
cache: "pip"
with:
python-version: "3.11"
- name: Install tox
Expand All @@ -35,6 +36,7 @@ jobs:
fetch-depth: 0
- name: Setup python for test ${{ matrix.py }}
uses: actions/setup-python@v5
cache: "pip"
with:
python-version: ${{ matrix.py }}
- name: Pick environment to run
Expand Down Expand Up @@ -75,6 +77,7 @@ jobs:
with:
fetch-depth: 0
- uses: actions/setup-python@v5
cache: "pip"
with:
python-version: "3.11"
- name: Install tox
Expand Down Expand Up @@ -114,6 +117,7 @@ jobs:
fetch-depth: 0
- name: Setup Python "3.11"
uses: actions/setup-python@v5
cache: "pip"
with:
python-version: "3.11"
- name: Install tox
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
steps:
- name: Setup python to build package
uses: actions/setup-python@v5
cache: "pip"
with:
python-version: "3.11"
- name: Install build
Expand Down
11 changes: 3 additions & 8 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 @@ -19,15 +19,10 @@ repos:
- id: tox-ini-fmt
args: ["-p", "fix"]
- repo: https://github.com/tox-dev/pyproject-fmt
rev: "1.5.1"
rev: "1.5.3"
hooks:
- id: pyproject-fmt
additional_dependencies: ["tox>=4.8"]
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v3.1.0"
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
16 changes: 8 additions & 8 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,23 +38,23 @@ dynamic = [
"version",
]
dependencies = [
"Sphinx>=7.1.2",
"Sphinx>=7.2.6",
]
optional-dependencies.docs = [
"furo>=2023.7.26",
"sphinx>=7.1.2",
"furo>=2023.9.10",
"sphinx>=7.2.6",
]
optional-dependencies.numpy = [
"nptyping>=2.5",
]
optional-dependencies.testing = [
"covdefaults>=2.3",
"coverage>=7.3",
"diff-cover>=7.7",
"pytest>=7.4",
"coverage>=7.3.2",
"diff-cover>=8.0.1",
"pytest>=7.4.3",
"pytest-cov>=4.1",
"sphobjinv>=2.3.1",
"typing-extensions>=4.7.1",
"typing-extensions>=4.8",
]
urls.Changelog = "https://github.com/tox-dev/sphinx-autodoc-typehints/blob/main/CHANGELOG.md"
urls.Homepage = "https://github.com/tox-dev/sphinx-autodoc-typehints"
Expand Down
12 changes: 6 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ commands =
description = format the code base to adhere to our styles, and complain about what we cannot do automatically
skip_install = true
deps =
pre-commit>=3.3.3
pre-commit>=3.5
commands =
pre-commit run --all-files --show-diff-on-failure

Expand All @@ -51,8 +51,8 @@ extras =
[testenv:type]
description = run type check on code base
deps =
mypy==1.4.1
types-docutils>=0.20.0.2
mypy==1.7.1
types-docutils>=0.20.0.3
set_env =
{tty:MYPY_FORCE_COLOR = 1}
commands =
Expand All @@ -64,8 +64,8 @@ description = combine coverage files and generate diff (against DIFF_AGAINST def
skip_install = true
deps =
covdefaults>=2.3
coverage>=7.3
diff-cover>=7.7
coverage>=7.3.2
diff-cover>=8.0.1
extras =
parallel_show_output = true
pass_env =
Expand All @@ -90,7 +90,7 @@ depends =
description = check that the long description is valid (need for PyPI)
skip_install = true
deps =
build[virtualenv]>=0.10
build[virtualenv]>=1.0.3
twine>=4.0.2
extras =
commands =
Expand Down

0 comments on commit 6ba0fa3

Please sign in to comment.