• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Jaded-Encoding-Thaumaturgy / vs-jetpack / 15146644985
66%

Build:
DEFAULT BRANCH: main
Ran 20 May 2025 07:57PM UTC
Jobs 2
Files 71
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

20 May 2025 07:55PM UTC coverage: 62.438% (+0.1%) from 62.289%
15146644985

push

github

web-flow
vskernels: refactor (#94)

- Add many docstrings.
- Remove old clean kwargs logic.
- Remove old `inject_kwargs_params` decorator and replace it by a new
one less convoluted.
- Remove `inject_self` logic. Calling a method without instantiating the
class still works but is not type safe and is deprecated.
- Replace linear logic by normal inheritance and document it.
- Ensure kwargs are cleared when vs environment is deleted.
- Fix `BicubicAuto`; `b` and `c` were always set to 0, 0.5.
- Remove kernel modify logic since it’s now included in `resize2` and
`descale`.
- Minor refactor on exceptions signature to keep them consistent.
- Fix types.
- Remove Zimg module.
- Move descale logic in a new ComplexDescaler class.
- Add rescale logic (typically used in `descale.Bicubic` or
`descale.ScaleCustom`).
The only additions compared to `resize2` are `post_conv` and
`ignore_mask`.
Use it only if you need these since `resize2` is much faster thanks to
the SIMD & AVX2 routines.
- Subclasses of `CustomKernel` must implement the kernel method since
it’s now decorated by `abstractmethod`.
- Split abstract and concrete classes into sub-modules.
- Add `Custom` counterpart of zimg kernels (eg. `CustomBicubic`,
`CustomLanczos`...).
- Add shift per plane capabilities in `ComplexScaler` and its
subclasses. Closes #89.
- Remove `NoShift` ~~& `NoScale`~~.
- Update `LinearLight` classes.
  - Add `from_func`  decorator.
- Add `bob` functionnality to zimg based kernels. Closes #66.
- Rename `ScalerT` and other type aliases by `ScalerLike` and similar.
Old aliases are still working but deprecated.
- Code cleaning and miscellaneous improvements.

598 of 1062 new or added lines in 24 files covered. (56.31%)

9 existing lines in 3 files now uncovered.

3667 of 5873 relevant lines covered (62.44%)

1.25 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
95.45
20.45% vskernels/exceptions.py
1
50.0
vskernels/kernels/custom/helpers.py
1
97.3
vskernels/kernels/zimg/various.py
3
86.15
-2.74% vskernels/types.py
5
73.68
-26.32% vskernels/__init__.py
6
72.73
vskernels/kernels/zimg/abstract.py
7
65.71
-1.77% vstools/enums/other.py
8
56.25
-6.76% vskernels/kernels/placebo.py
19
55.81
vskernels/abstract/custom.py
19
0.0
vskernels/docs.py
24
73.03
vskernels/kernels/zimg/bicubic.py
29
29.27
vskernels/kernels/custom/spline.py
39
0.0
vskernels/kernels/custom/bicubic.py
48
44.35
5.95% vskernels/util.py
54
48.08
vskernels/kernels/custom/various.py
87
64.05
vskernels/abstract/base.py
113
44.61
vskernels/abstract/complex.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
86.15
-2.74% vskernels/types.py
1
44.35
5.95% vskernels/util.py
7
56.25
-6.76% vskernels/kernels/placebo.py
Jobs
ID Job ID Ran Files Coverage
1 67 - 3.13 - 15146644985.1 20 May 2025 07:58PM UTC 71
62.44
GitHub Action Run
2 67 - 3.10 - 15146644985.2 20 May 2025 07:57PM UTC 71
62.44
GitHub Action Run
Source Files on build 15146644985
  • Tree
  • List 71
  • Changed 10
  • Source Changed 9
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15146644985
  • 6e92f262 on github
  • Prev Build on main (#15143537098)
  • Next Build on main (#15178801179)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc