Skip to content

Commit

Permalink
add py3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
grizz committed Apr 28, 2024
1 parent ae21d23 commit 135ea89
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
fail-fast: false
matrix:
os: [ "ubuntu-latest" ]
python-version: [ "3.8", "3.9", "3.10", "3.11" ]
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
runs-on: ${{ matrix.os }}
steps:
- name: Check out repository
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Unreleased:
added:
- py3.11 support
- py3.12 support
fixed: []
changed: []
deprecated: []
Expand Down
8 changes: 2 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,6 @@ all = [
"whisper",
]

[tool.isort]
profile = "black"
multi_line_output = 3

[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
requires = ["poetry-core>=1"]
build-backend = "poetry.core.masonry.api"
19 changes: 2 additions & 17 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,28 +1,13 @@
[flake8]
extend-ignore = E203, E266, E501
exclude =
.git,
.venv,
.tox,
__pycache__,
build,
dist
# line length is intentionally set to 80 here because black uses Bugbear
# See https://github.com/psf/black/blob/master/docs/the_black_code_style.md#line-length for more details
max-line-length = 80
max-complexity = 18
select = B,C,E,F,W,T4,B9


[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312

[tox]
envlist = py{38,39,310,311}
envlist = py{38,39,310,311,312}
isolated_build = True

[tox:.package]
Expand Down

0 comments on commit 135ea89

Please sign in to comment.