Skip to content

Commit

Permalink
Update testing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
deepaerial committed Jul 10, 2023
1 parent 4664d07 commit f437d28
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@ on:
types:
- opened
- synchronize
paths:
- ytdl_api/**
- tests/**
- pyproject.toml
- poetry.lock

jobs:
ruff:
name: Ruff
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: chartboost/ruff-action@v1
test:
name: Run tests
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ exclude = [
"build",
"dist"
]

fixable = ["I001", "F401", "W291", "W292"]
# Same as Black.
line-length = 120
# Allow unused variables when underscore-prefixed.
Expand Down

0 comments on commit f437d28

Please sign in to comment.