Skip to content

Commit

Permalink
Fix all docs errors (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
LightArrowsEXE authored May 7, 2022
1 parent 3310b4c commit 79e85de
Show file tree
Hide file tree
Showing 19 changed files with 39 additions and 7 deletions.
6 changes: 3 additions & 3 deletions docs/submodules/util.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ Some of these may also be useful for regular scripting or other modules.

.. autosummary::

lvsfunc,util.allow_variable
lvsfunc,util.check_variable
lvsfunc,util.chroma_injector
lvsfunc.util.allow_variable
lvsfunc.util.check_variable
lvsfunc.util.chroma_injector
lvsfunc.util.clamp_values
lvsfunc.util.colored_clips
lvsfunc.util.force_mod
Expand Down
2 changes: 2 additions & 0 deletions lvsfunc/aa.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from math import ceil
from typing import Any, Callable, Dict, List

Expand Down
2 changes: 2 additions & 0 deletions lvsfunc/comparison.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import math
import random
import warnings
Expand Down
2 changes: 2 additions & 0 deletions lvsfunc/deblock.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from functools import partial
from typing import Any, List, Optional, Sequence, SupportsFloat, Tuple

Expand Down
2 changes: 2 additions & 0 deletions lvsfunc/dehalo.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import math
from functools import partial
from typing import Any, Dict, List
Expand Down
2 changes: 2 additions & 0 deletions lvsfunc/dehardsub.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from abc import ABC
from typing import Any, List, Tuple

Expand Down
2 changes: 2 additions & 0 deletions lvsfunc/deinterlace.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import os
import sys
import time
Expand Down
2 changes: 2 additions & 0 deletions lvsfunc/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from typing import List

import vapoursynth as vs
Expand Down
2 changes: 2 additions & 0 deletions lvsfunc/fun.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
These functions are undocumented and will never be full features. Probably.
Don't tell louis this exists though, else I'm a dead man.
"""
from __future__ import annotations

from typing import List

import vapoursynth as vs
Expand Down
2 changes: 2 additions & 0 deletions lvsfunc/kernels.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from abc import ABC, abstractmethod
from functools import lru_cache
from math import sqrt
Expand Down
2 changes: 2 additions & 0 deletions lvsfunc/mask.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from abc import ABC, abstractmethod
from functools import partial
from typing import Any, Callable, Dict, List, Tuple
Expand Down
3 changes: 2 additions & 1 deletion lvsfunc/misc.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import os
from __future__ import annotations

import os
import warnings
from functools import partial
from typing import Any, List, Sequence, Tuple
Expand Down
5 changes: 2 additions & 3 deletions lvsfunc/noise.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""
Denoising functions and wrappers.
"""
from __future__ import annotations

from typing import Any, Dict, List

import vapoursynth as vs
Expand Down
2 changes: 2 additions & 0 deletions lvsfunc/progress.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from typing import Any, Collection, Iterator, List, TypeVar

__all__: List[str] = [
Expand Down
2 changes: 2 additions & 0 deletions lvsfunc/recon.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from functools import partial
from typing import List

Expand Down
2 changes: 2 additions & 0 deletions lvsfunc/render.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from concurrent.futures import Future
from functools import partial
from threading import Condition
Expand Down
2 changes: 2 additions & 0 deletions lvsfunc/scale.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import math
from functools import partial
from typing import Any, Callable, Dict, List, cast
Expand Down
2 changes: 2 additions & 0 deletions lvsfunc/types.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from enum import IntEnum
from typing import (Any, Callable, List, Literal, NamedTuple, NoReturn,
Optional, Protocol, Sequence, Tuple, TypeVar, Union)
Expand Down
2 changes: 2 additions & 0 deletions lvsfunc/util.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import colorsys
import random
import warnings
Expand Down

0 comments on commit 79e85de

Please sign in to comment.