Skip to content

Commit

Permalink
build: Update Python dev version to 3.10.1 (#229)
Browse files Browse the repository at this point in the history
As well as bump pre-commit hooks.
  • Loading branch information
playpauseandstop committed Jan 1, 2022
1 parent 4654a89 commit af271a4
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 17 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,20 @@ on:

env:
# Dev Python version
DEV_PYTHON_VERSION: "3.10.0"
DEV_PYTHON_VERSION: "3.10.1"
# Get latest versions by running,
#
# ```bash
# pip-latest-release badabump coveralls poetry tox tox-gh-actions twine
# pip-latest-release badabump coverage coveralls poetry tox tox-gh-actions twine
# ```
#
BADABUMP_VERSION: "21.3.3"
COVERALLS_VERSION: "3.2.0"
POETRY_VERSION: "1.1.11"
TOX_VERSION: "3.24.4"
COVERAGE_VERSION: "6.2"
COVERALLS_VERSION: "3.3.1"
POETRY_VERSION: "1.1.12"
TOX_VERSION: "3.24.5"
TOX_GH_ACTIONS_VERSION: "2.8.1"
TWINE_VERSION: "3.4.2"
TWINE_VERSION: "3.7.1"

jobs:
dev:
Expand Down Expand Up @@ -155,7 +156,7 @@ jobs:
run: |
set -euo pipefail
python3 -m pip install coveralls==${{ env.COVERALLS_VERSION }}
python3 -m pip install coverage[toml]==${{ env.COVERAGE_VERSION }} coveralls==${{ env.COVERALLS_VERSION }}
python3 -m coveralls --service=github
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:

env:
BADABUMP_VERSION: "21.3.1"
PYTHON_VERSION: "3.10.0"
PYTHON_VERSION: "3.10.1"
PYTHONUNBUFFERED: "1"

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

env:
BADABUMP_VERSION: "21.3.1"
PYTHON_VERSION: "3.10.0"
PYTHON_VERSION: "3.10.1"
PYTHONUNBUFFERED: "1"

jobs:
Expand Down
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ default_language_version:
minimum_pre_commit_version: "1.17.0"
repos:
- repo: "https://github.com/commitizen-tools/commitizen"
rev: "v2.20.0"
rev: "v2.20.3"
hooks:
- id: "commitizen"
# By default commitizen using `python3` instead `python` language, so
Expand All @@ -12,14 +12,14 @@ repos:
stages: ["commit-msg"]

- repo: "https://github.com/PyCQA/isort"
rev: "5.9.3"
rev: "5.10.1"
hooks:
- id: "isort"
name: "Format code (isort)"
exclude: ^docs/.*$

- repo: "https://github.com/psf/black"
rev: "21.9b0"
rev: "21.12b0"
hooks:
- id: "black"
# By default black using `python3` instead `python` language, so
Expand All @@ -29,16 +29,16 @@ repos:
exclude: ^docs/.*$

- repo: "https://github.com/asottile/blacken-docs"
rev: "v1.11.0"
rev: "v1.12.0"
hooks:
- id: "blacken-docs"
name: "Format docs (blacken-docs)"
args: ["-l", "64"]
additional_dependencies:
- "black==21.9b0"
- "black==21.12b0"

- repo: "https://github.com/pre-commit/pre-commit-hooks"
rev: "v4.0.1"
rev: "v4.1.0"
hooks:
- id: "end-of-file-fixer"
- id: "trailing-whitespace"
Expand All @@ -54,7 +54,7 @@ repos:
additional_dependencies: &flake8_additional_dependencies
- "flake8==4.0.1"
- "flake8-broken-line==0.4.0"
- "flake8-bugbear==21.9.2"
- "flake8-bugbear==21.11.29"
- "flake8-builtins==1.5.3"
- "flake8-comprehensions==3.7.0"
- "flake8-eradicate==1.2.0"
Expand Down
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.10.0
3.10.1

0 comments on commit af271a4

Please sign in to comment.