Skip to content

Commit

Permalink
Formatting, missing bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Setsugennoao committed May 17, 2024
1 parent 55116a6 commit 1c319ff
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 14 deletions.
17 changes: 8 additions & 9 deletions getfscaler/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,16 @@
from typing import Any, cast

from rich.logging import RichHandler
from vskernels import (AdobeBicubic, Bicubic, BicubicSharp, Bilinear, BSpline,
Catrom, Descaler, FFmpegBicubic, Hermite, Kernel,
KernelT, Lanczos, Mitchell, Point, Robidoux,
RobidouxSharp, RobidouxSoft, Spline16, Spline36,
Spline64)
from vskernels import (
AdobeBicubic, Bicubic, BicubicSharp, Bilinear, BSpline, Catrom, Descaler, FFmpegBicubic, Hermite, Kernel, KernelT,
Lanczos, Mitchell, Point, Robidoux, RobidouxSharp, RobidouxSoft, Spline16, Spline36, Spline64
)
from vsmasktools import Sobel, replace_squaremask
from vsscale import fdescale_args
from vssource import source
from vstools import (CustomIndexError, FieldBased, FieldBasedT,
FileWasNotFoundError, SPath, core, get_prop, get_w, plane,
set_output, vs)
from vstools import (
CustomIndexError, FieldBased, FieldBasedT, FileWasNotFoundError, SPath, core, get_prop, get_w, plane, set_output, vs
)

# Logging stolen from vsmuxtools
FORMAT = "%(message)s"
Expand Down Expand Up @@ -348,7 +347,7 @@ def main() -> None:
)

if args.frame is None:
debug(f"No frame number given. Grabbing random frame ({framenum}/{clip.num_frames-1})...")
debug(f"No frame number given. Grabbing random frame ({framenum}/{clip.num_frames - 1})...")

frame_y = plane(frame, 0)
mask = Sobel.edgemask(frame_y)
Expand Down
4 changes: 0 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,3 @@ pretty = True

[mypy-cytoolz.*]
ignore_errors = True


[mypy-vsutil]
implicit_reexport = True
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
'Contact': 'https://discord.gg/XTpc6Fa9eB',
},
install_requires=requirements,
python_requires='>=3.11',
python_requires='>=3.12',
packages=setuptools.find_packages(),
package_data={
package_name: ['py.typed']
Expand Down

0 comments on commit 1c319ff

Please sign in to comment.