Skip to content

Commit

Permalink
Add missing dependencies (#5)
Browse files Browse the repository at this point in the history
* Add missing dependencies

vstransitions and numpy are used in vstransitions.tweaking.

* Update mypy to v1.11.2
  • Loading branch information
sgt0 authored Sep 5, 2024
1 parent 2e2078f commit cefd66a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
- '3.12'

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -27,5 +27,5 @@ jobs:
- name: Running flake8
run: flake8 vsadjust
- name: Running mypy
if: steps.dependencies.outcome == 'success'
run: mypy vsadjust
continue-on-error: true
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
flake8>=7.0.0
mypy>=1.10.0
mypy>=1.11.2
mypy-extensions>=1.0.0
5 changes: 2 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ VapourSynth>=68
vstools>=3.2.0
vskernels>=3.2.0
vsexprtools>=1.6.0
vsrgtools>=1.7.0
vsmasktools>=1.3.0
vsaa>=1.10.0
vsscale>=2.1.0
vstransitions>=0.1.1
numpy>=2.1.1
2 changes: 1 addition & 1 deletion vsadjust/borders.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ def __call__(
if not any(x != 0 for x in plane_values):
continue

proc_clip = plugin(proc_clip, *plane_values, plane=plane, **kwargs) # type:ignore
proc_clip = plugin(proc_clip, *plane_values, plane=plane, **kwargs)

return func.return_clip(proc_clip)

0 comments on commit cefd66a

Please sign in to comment.