mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-18 10:49:30 +01: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: |
|
||||
python3 -m yt_dlp -v || true
|
||||
python3 ./devscripts/run_tests.py core
|
||||
linter:
|
||||
name: Linter
|
||||
check:
|
||||
name: Code check
|
||||
if: "!contains(github.event.head_commit.message, 'ci skip all')"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
@ -124,10 +124,10 @@ features = ["dev"]
|
||||
|
||||
[tool.hatch.envs.default.scripts]
|
||||
install = "pre-commit install"
|
||||
lint = "ruff check {args:.}"
|
||||
lint = "ruff check --fix {args:.}"
|
||||
format = "autopep8 --in-place {args:.}"
|
||||
check = [
|
||||
"ruff check --no-fix {args:.}",
|
||||
"ruff check {args:.}",
|
||||
"autopep8 --diff {args:.}",
|
||||
]
|
||||
test = "python -m devscripts.run_tests {args}"
|
||||
|
Loading…
Reference in New Issue
Block a user