diff options
| author | Cody Logan <clpo13@gmail.com> | 2023-10-06 14:03:55 -0700 |
|---|---|---|
| committer | Cody Logan <clpo13@gmail.com> | 2023-10-06 14:03:55 -0700 |
| commit | 43489400d94ba68477ec2040ec8e1625192780ef (patch) | |
| tree | 5c5d907a4138acebbb864403cfd4eb2c0a829695 | |
| parent | 0f45fe2526d7be48d77ef60b7505a196d533b4f4 (diff) | |
| download | wikiget-43489400d94ba68477ec2040ec8e1625192780ef.tar.gz wikiget-43489400d94ba68477ec2040ec8e1625192780ef.zip | |
Update actions for dev branch and Python 3.12
| -rw-r--r-- | .github/workflows/python.yml | 8 | ||||
| -rw-r--r-- | pyproject.toml | 1 |
2 files changed, 5 insertions, 4 deletions
diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index bef2670..499c01a 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -5,9 +5,9 @@ name: Python package on: push: - branches: [ "master" ] + branches: [ "dev" ] pull_request: - branches: [ "master" ] + branches: [ "master", "dev" ] jobs: build: @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v3 @@ -32,7 +32,7 @@ jobs: - name: Lint with flake8 run: | # stop the build if there are Python syntax errors or undefined names - flake8 . --count --show-source --statistics + flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics - name: Test with pytest run: | pytest diff --git a/pyproject.toml b/pyproject.toml index 070d406..0b13074 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,6 +33,7 @@ classifiers = [ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", ] dependencies = [ "mwclient>=0.10.0", |
