Skip to content

Commit

Permalink
added configs for flake8 and isort
Browse files Browse the repository at this point in the history
  • Loading branch information
k4yt3x committed Apr 9, 2022
1 parent afca10a commit 8eeba71
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }

Expand Down
3 changes: 3 additions & 0 deletions video2x/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
# 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

0 comments on commit 8eeba71

Please sign in to comment.