forked from Irrational-Encoding-Wizardry/vsmask
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eaf589c
commit 0c32e3e
Showing
2 changed files
with
15 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,35 @@ | ||
name: lint | ||
|
||
on: [push, pull_request] | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
|
||
jobs: | ||
windows: | ||
runs-on: windows-latest | ||
strategy: | ||
matrix: | ||
versions: | ||
vs-versions: | ||
- 68 | ||
python-version: | ||
- '3.12' | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install dependencies | ||
run: | | ||
python3 -m pip install --upgrade pip | ||
pip install vapoursynth-portable==${{ matrix.versions }} | ||
pip install vapoursynth-portable==${{ matrix.vs-versions }} | ||
pip install -r requirements.txt | ||
pip install -r requirements-dev.txt | ||
- name: Running flake8 | ||
run: flake8 vsmasktools | ||
- name: Running mypy | ||
run: mypy vsmasktools | ||
continue-on-error: true | ||
- name: Running ruff | ||
run: ruff check vsmasktools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
flake8>=7.0.0 | ||
mypy>=1.10.0 | ||
packaging>=24.0 | ||
pycodestyle>=2.11.1 | ||
ruff>=0.6.5 |