mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-09 18:03:25 +00:00
fixes
This commit is contained in:
parent
286b5c7a31
commit
885b59c516
4
.github/workflows/quick-test.yml
vendored
4
.github/workflows/quick-test.yml
vendored
|
@ -20,8 +20,8 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
python3 -m yt_dlp -v || true
|
python3 -m yt_dlp -v || true
|
||||||
python3 ./devscripts/run_tests.py core
|
python3 ./devscripts/run_tests.py core
|
||||||
linter:
|
check:
|
||||||
name: Linter
|
name: Code check
|
||||||
if: "!contains(github.event.head_commit.message, 'ci skip all')"
|
if: "!contains(github.event.head_commit.message, 'ci skip all')"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
|
@ -124,10 +124,10 @@ features = ["dev"]
|
||||||
|
|
||||||
[tool.hatch.envs.default.scripts]
|
[tool.hatch.envs.default.scripts]
|
||||||
install = "pre-commit install"
|
install = "pre-commit install"
|
||||||
lint = "ruff check {args:.}"
|
lint = "ruff check --fix {args:.}"
|
||||||
format = "autopep8 --in-place {args:.}"
|
format = "autopep8 --in-place {args:.}"
|
||||||
check = [
|
check = [
|
||||||
"ruff check --no-fix {args:.}",
|
"ruff check {args:.}",
|
||||||
"autopep8 --diff {args:.}",
|
"autopep8 --diff {args:.}",
|
||||||
]
|
]
|
||||||
test = "python -m devscripts.run_tests {args}"
|
test = "python -m devscripts.run_tests {args}"
|
||||||
|
|
Loading…
Reference in a new issue