added configs for flake8 and isort

This commit is contained in:
k4yt3x 2022-04-09 18:43:36 +00:00
parent afca10a17b
commit 8eeba71ece
2 changed files with 6 additions and 0 deletions

View File

@ -48,6 +48,9 @@ changelog = "https://github.com/k4yt3x/video2x/releases"
[project.scripts]
video2x = "video2x:main"
[tool.isort]
profile = "black"
[tool.pdm]
version = { from = "video2x/__init__.py" }

View File

@ -26,6 +26,9 @@ Last Modified: April 1, 2022
# prevent setup.cfg from producing import errors
__version__ = "5.0.0-beta5"
# flake8: noqa
# let flake8 ignore this file to avoid F401 warnings
# generated by the following lines
from .interpolator import Interpolator
from .upscaler import Upscaler
from .video2x import Video2X, main