Skip to content

Commit 2e59ec4

Browse files
authored
Pin black==25.12.0 in tox.ini for consistent formatting (#205)
* Pin black==25.12.0 in tox.ini for consistent formatting * Add Python 3.14 testing as main version * update deploy to py314
1 parent f729a9a commit 2e59ec4

3 files changed

Lines changed: 18 additions & 14 deletions

File tree

.github/workflows/build-and-deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ jobs:
99
build-and-deploy:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v2
13-
- uses: actions/setup-python@v2
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-python@v5
1414
with:
15-
python-version: "3.13"
15+
python-version: "3.14"
1616
- name: install dependencies
1717
run: |
1818
python -m pip install --upgrade pip

.github/workflows/test.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ jobs:
99
fail-fast: false
1010
matrix:
1111
include:
12-
- python: "3.13"
12+
- python: "3.14"
1313
toxenv: flake8
1414
os: ubuntu-latest
15-
- python: "3.13"
15+
- python: "3.14"
1616
toxenv: mypy
1717
os: ubuntu-latest
18-
- python: "3.13"
18+
- python: "3.14"
1919
toxenv: pylint
2020
os: ubuntu-latest
21-
- python: "3.13"
21+
- python: "3.14"
2222
toxenv: black
2323
os: ubuntu-latest
2424

@@ -34,6 +34,9 @@ jobs:
3434
- python: "3.13"
3535
toxenv: py313
3636
os: ubuntu-latest
37+
- python: "3.14"
38+
toxenv: py314
39+
os: ubuntu-latest
3740

3841
- python: "pypy3.10"
3942
toxenv: pypy310
@@ -42,11 +45,11 @@ jobs:
4245
toxenv: pypy311
4346
os: ubuntu-latest
4447

45-
- python: "3.13"
46-
toxenv: py313
48+
- python: "3.14"
49+
toxenv: py314
4750
os: macos-latest
48-
- python: "3.13"
49-
toxenv: py313
51+
- python: "3.14"
52+
toxenv: py314
5053
os: windows-latest
5154

5255
runs-on: ${{ matrix.os }}

tox.ini

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
[tox]
77
envlist =
88
flake8, mypy, pylint, black
9-
py{310,311,312,313},
9+
py{310,311,312,313,314},
1010
pypy{310,311}
1111

1212
[default]
13-
basepython=python3.13
13+
basepython=python3.14
1414

1515
[testenv]
1616
description = run test
@@ -19,6 +19,7 @@ basepython =
1919
py311: python3.11
2020
py312: python3.12
2121
py313: python3.13
22+
py314: python3.14
2223
pypy310: pypy3.10
2324
pypy311: pypy3.11
2425
deps =
@@ -59,5 +60,5 @@ commands = mypy
5960
description = check that comply with autoformating
6061
basepython = {[default]basepython}
6162
deps =
62-
black
63+
black==25.12.0
6364
commands = black --check --diff .

0 commit comments

Comments
 (0)