Skip to content

Commit

Permalink
Merge pull request #731 from hhatto/update-python-versions
Browse files Browse the repository at this point in the history
Update python versions
  • Loading branch information
hhatto authored Mar 15, 2024
2 parents 06616d3 + 8199d74 commit 3087ac4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
flake8 autopep8.py
pycodestyle autopep8.py
- name: doctest for readme
if: matrix.python-version == 3.9
if: matrix.python-version == 3.11
run: |
python -m doctest -v README.rst
- name: Test with pytest
Expand All @@ -48,6 +48,6 @@ jobs:
python test/test_suite.py
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
if: matrix.python-version == 3.9 && success()
if: matrix.python-version == 3.11 && success()
with:
fail_ci_if_error: true
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ Testing
Test cases are in ``test/test_autopep8.py``. They can be run directly via
``python test/test_autopep8.py`` or via tox_. The latter is useful for
testing against multiple Python interpreters. (We currently test against
CPython versions 3.7, 3.8, 3.9 and 3.10. We also test against PyPy.)
CPython versions 3.8, 3.9, 3.10, 3.11 and 3.12. We also test against PyPy.)

.. _`tox`: https://pypi.org/project/tox/

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Quality Assurance",
]
requires-python = ">=3.6"
requires-python = ">=3.8"
dependencies = [
"pycodestyle >= 2.11.0",
"tomli; python_version < '3.11'",
Expand Down

0 comments on commit 3087ac4

Please sign in to comment.