Skip to content

Commit

Permalink
Add Python 3.12 to supported versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
wRAR committed Oct 5, 2023
1 parent 43ef533 commit 5ac0841
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 15 deletions.
3 changes: 2 additions & 1 deletion .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
max-line-length = 99
ignore =
W503
E266 # too many leading '#' for block comment
# too many leading '#' for block comment
E266
exclude =
.git
.tox
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,30 +7,30 @@ jobs:
strategy:
matrix:
include:
- python-version: 3
- python-version: 3.12
env:
TOXENV: black
- python-version: 3
- python-version: 3.12
env:
TOXENV: flake8
- python-version: 3
- python-version: 3.12
env:
TOXENV: pylint
- python-version: 3
- python-version: 3.12
env:
TOXENV: security
- python-version: 3
- python-version: 3.12
env:
TOXENV: docs
- python-version: 3
- python-version: 3.12
env:
TOXENV: typing

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ jobs:
if: startsWith(github.event.ref, 'refs/tags/')

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Python 3.8
uses: actions/setup-python@v2
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: 3
python-version: 3.12

- name: Check Tag
id: check-release-tag
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,6 @@
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
)
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ commands =

[testenv:flake8]
deps =
flake8==5.0.4
flake8==6.1.0
commands =
flake8 {posargs: cssselect setup.py tests docs/conf.py}

[testenv:pylint]
deps =
{[testenv]deps}
pylint==2.15.3
pylint==3.0.0
commands =
pylint {posargs: cssselect setup.py tests docs}

Expand Down

0 comments on commit 5ac0841

Please sign in to comment.