Xqt has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1152402?usp=email )
Change subject: qlty: Update yml formatting and update oauth_tests for Python
3.15
......................................................................
qlty: Update yml formatting and update oauth_tests for Python 3.15
Change-Id: I7c6a081b4111ddeee08032e4711b87f5b1d7d798
---
M .github/workflows/doctest.yml
M .github/workflows/login_tests-ci.yml
M .github/workflows/oauth_tests-ci.yml
M .github/workflows/pywikibot-ci.yml
M .github/workflows/sysop_write_tests-ci.yml
M .github/workflows/windows_tests.yml
M .pre-commit-config.yaml
7 files changed, 24 insertions(+), 24 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/.github/workflows/doctest.yml b/.github/workflows/doctest.yml
index 4634966..ecfe729 100644
--- a/.github/workflows/doctest.yml
+++ b/.github/workflows/doctest.yml
@@ -23,11 +23,11 @@
max-parallel: 17
matrix:
- python-version: [ "pypy3.8", "pypy3.10", "3.8", "3.9", "3.10", "3.11",
"3.12", "3.13" ]
+ python-version: [ pypy3.8, pypy3.10, "3.8", "3.9", "3.10", "3.11",
"3.12", "3.13" ]
os: [ windows-latest, macOS-latest, ubuntu-latest ]
include:
- - python-version: "3.14-dev"
- - python-version: "3.15-dev"
+ - python-version: 3.14-dev
+ - python-version: 3.15-dev
steps:
- name: Checkout Repository
@@ -44,7 +44,7 @@
# use deadsnakes/action for development releases
- name: Set up development Python ${{ matrix.python-version }}
uses: deadsnakes/[email protected]
- if: "endsWith(matrix.python-version, '-dev')"
+ if: endsWith(matrix.python-version, '-dev')
with:
python-version: ${{ matrix.python-version }}
diff --git a/.github/workflows/login_tests-ci.yml
b/.github/workflows/login_tests-ci.yml
index e760e38..bcda450 100644
--- a/.github/workflows/login_tests-ci.yml
+++ b/.github/workflows/login_tests-ci.yml
@@ -3,7 +3,7 @@
on:
workflow_run:
- workflows: [ "Pywikibot CI" ]
+ workflows: [ Pywikibot CI ]
branches: [ master ]
types:
- completed
@@ -23,7 +23,7 @@
max-parallel: 1
matrix:
- python-version: [ "pypy3.8", "pypy3.10", "3.8", "3.9", "3.10", "3.11",
"3.12", "3.13", "3.14-dev", "3.15-dev"]
+ python-version: [ pypy3.8, pypy3.10, "3.8", "3.9", "3.10", "3.11",
"3.12", "3.13", 3.14-dev, 3.15-dev]
site: [ "wikipedia:en", "wikisource:zh", "wikipedia:test" ]
include:
- python-version: "3.8"
diff --git a/.github/workflows/oauth_tests-ci.yml
b/.github/workflows/oauth_tests-ci.yml
index 136911e..122d48c 100644
--- a/.github/workflows/oauth_tests-ci.yml
+++ b/.github/workflows/oauth_tests-ci.yml
@@ -23,10 +23,10 @@
fail-fast: false
matrix:
- python-version: [ "pypy3.8", "pypy3.10", "3.8", "3.9", "3.10", "3.11",
"3.12", "3.13", "3.14-dev", "3.14-dev" ]
+ python-version: [ pypy3.8, pypy3.10, "3.8", "3.9", "3.10", "3.11",
"3.12", "3.13", 3.14-dev, 3.15-dev ]
family: [ wikipedia ]
code: [ test ]
- domain: [ "test.wikipedia.org" ]
+ domain: [ test.wikipedia.org ]
include:
- python-version: "3.8"
family: wpbeta
@@ -52,7 +52,7 @@
# use deadsnakes/action for development releases
- name: Set up development Python ${{ matrix.python-version }}
uses: deadsnakes/[email protected]
- if: "endsWith(matrix.python-version, '-dev')"
+ if: endsWith(matrix.python-version, '-dev')
with:
python-version: ${{ matrix.python-version }}
diff --git a/.github/workflows/pywikibot-ci.yml
b/.github/workflows/pywikibot-ci.yml
index 8fa30ac..b88463d 100644
--- a/.github/workflows/pywikibot-ci.yml
+++ b/.github/workflows/pywikibot-ci.yml
@@ -26,7 +26,7 @@
max-parallel: 19
matrix:
- python-version: [ "pypy3.10", "3.8", "3.9", "3.10", "3.11", "3.12",
"3.13" ]
+ python-version: [ pypy3.10, "3.8", "3.9", "3.10", "3.11", "3.12",
"3.13" ]
site: [ "wikipedia:en", "wikisource:zh" ]
include:
- python-version: "3.8"
@@ -54,22 +54,22 @@
site: wikipedia:de
os: macOS-latest
# ubuntu-22.04 required for pypy3.8 and 3.14-dev due to T382214
- - python-version: "pypy3.8"
+ - python-version: pypy3.8
site: wikipedia:en
os: ubuntu-22.04
- - python-version: "pypy3.8"
+ - python-version: pypy3.8
site: wikisource:zh
os: ubuntu-22.04
- - python-version: "3.14-dev"
+ - python-version: 3.14-dev
site: wikipedia:en
os: ubuntu-22.04
- - python-version: "3.14-dev"
+ - python-version: 3.14-dev
site: wikisource:zh
os: ubuntu-22.04
- - python-version: "3.15-dev"
+ - python-version: 3.15-dev
site: wikipedia:en
os: ubuntu-22.04
- - python-version: "3.15-dev"
+ - python-version: 3.15-dev
site: wikisource:zh
os: ubuntu-22.04
steps:
@@ -87,7 +87,7 @@
# use deadsnakes/action for development releases
- name: Set up development Python ${{ matrix.python-version }}
uses: deadsnakes/[email protected]
- if: "endsWith(matrix.python-version, '-dev')"
+ if: endsWith(matrix.python-version, '-dev')
with:
python-version: ${{ matrix.python-version }}
diff --git a/.github/workflows/sysop_write_tests-ci.yml
b/.github/workflows/sysop_write_tests-ci.yml
index 792739a..55aaa96 100644
--- a/.github/workflows/sysop_write_tests-ci.yml
+++ b/.github/workflows/sysop_write_tests-ci.yml
@@ -15,7 +15,7 @@
jobs:
build:
- runs-on: "ubuntu-latest"
+ runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental || false }}
timeout-minutes: 100
@@ -25,7 +25,7 @@
matrix:
python-version: [ "3.8" ]
site: [ "wikipedia:test" ]
- attr: [ "write and not rights", "write and rights", "rights and not
write" ]
+ attr: [ write and not rights, write and rights, rights and not write ]
steps:
- name: Checkout Repository
diff --git a/.github/workflows/windows_tests.yml
b/.github/workflows/windows_tests.yml
index 86da390..35e512c 100644
--- a/.github/workflows/windows_tests.yml
+++ b/.github/workflows/windows_tests.yml
@@ -15,7 +15,7 @@
jobs:
build:
- runs-on: "windows-latest"
+ runs-on: windows-latest
continue-on-error: ${{ matrix.experimental || false }}
timeout-minutes: 100
@@ -23,7 +23,7 @@
fail-fast: false
matrix:
- python-version: [ "3.8.0", "3.8", "3.9", "3.10", "3.11", "3.12",
"3.13" ]
+ python-version: [ 3.8.0, "3.8", "3.9", "3.10", "3.11", "3.12", "3.13" ]
python-arch: [ x64, x86 ]
site: [ "wikipedia:en" ]
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 992ef8e..c87b9e4 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -45,7 +45,7 @@
- id: trailing-whitespace
args:
- --markdown-linebreak-ext=rst
- exclude: '^tests/data/'
+ exclude: ^tests/data/
- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.10.0
hooks:
@@ -79,12 +79,12 @@
- --remove-all-unused-imports
- --remove-duplicate-keys
- --remove-unused-variables
- exclude: '^pywikibot/backports\.py$'
+ exclude: ^pywikibot/backports\.py$
- repo: https://github.com/PyCQA/isort
rev: 6.0.1
hooks:
- id: isort
- exclude: '^pwb\.py$'
+ exclude: ^pwb\.py$
- repo: https://github.com/jshwi/docsig
rev: v0.69.3
hooks:
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1152402?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I7c6a081b4111ddeee08032e4711b87f5b1d7d798
Gerrit-Change-Number: 1152402
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]