mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2026-04-27 14:00:34 +00:00
Update black
This commit is contained in:
parent
68b3acc039
commit
aee80e5dd5
3 changed files with 6 additions and 4 deletions
6
.github/workflows/test.yaml
vendored
6
.github/workflows/test.yaml
vendored
|
|
@ -16,10 +16,10 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
py_version: ['3.9', '3.11', '3.12', '3.13', '3.14']
|
py_version: ["3.9", "3.11", "3.12", "3.13", "3.14"]
|
||||||
os: [ubuntu-latest, windows-latest]
|
os: [ubuntu-latest, windows-latest]
|
||||||
include:
|
include:
|
||||||
- py_version: '3.8'
|
- py_version: "3.8"
|
||||||
os: windows-latest
|
os: windows-latest
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
@ -73,3 +73,5 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5.0.0
|
- uses: actions/checkout@v5.0.0
|
||||||
- uses: psf/black@stable
|
- uses: psf/black@stable
|
||||||
|
with:
|
||||||
|
version: "26.1.0"
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ repos:
|
||||||
exclude: '^(LICENSE\.txt|resources/language/.*\.po)$'
|
exclude: '^(LICENSE\.txt|resources/language/.*\.po)$'
|
||||||
|
|
||||||
- repo: https://github.com/psf/black
|
- repo: https://github.com/psf/black
|
||||||
rev: "24.4.2"
|
rev: "26.1.0"
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
-r requirements-test.txt
|
-r requirements-test.txt
|
||||||
|
|
||||||
pre-commit >= 3.7.1
|
pre-commit >= 3.7.1
|
||||||
black >= 24.4.2
|
black >= 26.1.0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue