mirror of https://github.com/streamlink/streamlink
tools: bump ruff to 0.3.0 and fix issues
This commit is contained in:
parent
247c6cfa11
commit
d55eb2792b
|
@ -35,7 +35,7 @@ jobs:
|
|||
-r dev-requirements.txt
|
||||
- name: ruff
|
||||
run: >
|
||||
python -m ruff .
|
||||
python -m ruff check .
|
||||
|
||||
typing:
|
||||
name: Typing
|
||||
|
|
|
@ -15,7 +15,7 @@ pytest-cov
|
|||
coverage[toml]
|
||||
|
||||
# code-linting
|
||||
ruff ==0.2.2
|
||||
ruff ==0.3.0
|
||||
|
||||
# typing
|
||||
mypy ==1.8.0
|
||||
|
|
|
@ -12,7 +12,6 @@ from typing_extensions import TypeAlias
|
|||
from streamlink.plugin.api.validate import Schema
|
||||
from streamlink.session import Streamlink
|
||||
|
||||
|
||||
# START: borrowed from typeshed / types-requests
|
||||
# https://github.com/python/typeshed/blob/b3db49abbd563a8543783fcd2b4d6765b32812b0/stubs/requests/requests/sessions.pyi
|
||||
|
||||
|
|
Loading…
Reference in New Issue