Skip to content

Commit

Permalink
Add Python 3.12 to CI (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss committed Sep 23, 2023
1 parent 76b9d4f commit 148f572
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9, "3.10", 3.11]
python-version: [3.8, 3.9, "3.10", 3.11, 3.12]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Install with `pip`:
pip install flake8-simplify
```

Python 3.6 to 3.10 are supported.
Python 3.8 to 3.11 are supported.


## Usage
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"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",
"Topic :: Software Development",
"Framework :: Flake8",
]
Expand All @@ -57,7 +57,7 @@ namespaces = false

[tool.black]
line-length = 79
target-version = ['py37']
target-version = ['py38']

[tool.mutmut]
backup = "False"
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = lint,py36,py37,py38,py39,python3.10
envlist = lint,py38,py39,py310,py311

[testenv]
deps =
Expand Down

0 comments on commit 148f572

Please sign in to comment.