Skip to content

Commit

Permalink
deleted github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
BishrGhalil committed Apr 24, 2023
1 parent 6d3528a commit d4136df
Show file tree
Hide file tree
Showing 21 changed files with 207 additions and 137 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/pylint.yml

This file was deleted.

37 changes: 0 additions & 37 deletions .github/workflows/python-package.yml

This file was deleted.

159 changes: 157 additions & 2 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 13 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,16 @@ classifiers = [
"Bug Tracker" = "https://github.com/BishrGhalil/issues"

[project.scripts]
stitchtoon = "stitchtoon.__main__:main"
stitchtoon = "stitchtoon.__main__:main"

[tool.isort]
profile = "black"
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 120

[tool.pylint.format]
max-line-length = "120"
29 changes: 4 additions & 25 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,27 +1,3 @@
[isort]
sections =
FUTURE,
STDLIB,
THIRDPARTY,
FIRSTPARTY,
LOCALFOLDER
default_section = LOCALFOLDER
known_third_party =
numpy,
pandas,
keras,
tensorflow,
sklearn,
matplotlib,
scipy
multi_line_output = 3
lines_after_imports = 2
force_single_line = True
use_parentheses = True
ensure_newline_before_comments = True
line_length = 80


[flake8]
exclude = .git,__pycache__,docs,old,build,dist
max-complexity = 30
Expand All @@ -44,7 +20,10 @@ warn_no_return = true
warn_unreachable = true


[pylint.config]
[pylint]
max-line-length = 120


[MASTER]

extension-pkg-whitelist=
Expand Down
1 change: 0 additions & 1 deletion src/stitchtoon.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from stitchtoon.__main__ import main


if __name__ == "__main__":
main()
3 changes: 1 addition & 2 deletions src/stitchtoon/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ def version_helper():

args = None

from .services.image_directory import Image
from .services.image_directory import ImageDirectory
from .services.image_directory import Image, ImageDirectory
from .services.process import process, stitch
from .services.progressbar import ProgressHandler
1 change: 0 additions & 1 deletion src/stitchtoon/detectors/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
from .pixel_comparison import PixelComparisonDetector
from .selector import select_detector


__all__ = [DirectSlicingDetector, PixelComparisonDetector, select_detector]
3 changes: 2 additions & 1 deletion src/stitchtoon/detectors/direct_slicing.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from PIL import Image as pilImage

from ..services.directory_scanner import Image
from ..services.global_logger import logFunc
from PIL import Image as pilImage


class DirectSlicingDetector:
Expand Down
2 changes: 1 addition & 1 deletion src/stitchtoon/detectors/pixel_comparison.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import numpy as np
from PIL import Image as pilImage

from ..services.directory_scanner import Image
from ..services.global_logger import logFunc
from PIL import Image as pilImage


class PixelComparisonDetector:
Expand Down
1 change: 0 additions & 1 deletion src/stitchtoon/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from .app_profiles import AppProfiles
from .app_settings import AppSettings


__all__ = [AppProfiles, AppSettings]
3 changes: 1 addition & 2 deletions src/stitchtoon/models/app_settings.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from ..utils.constants import DETECTION_TYPE
from ..utils.constants import WIDTH_ENFORCEMENT
from ..utils.constants import DETECTION_TYPE, WIDTH_ENFORCEMENT


class AppSettings:
Expand Down
8 changes: 2 additions & 6 deletions src/stitchtoon/services/__init__.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
from .directory_scanner import scan
from .directory_scanner import scanimgdir
from .directory_scanner import walkimgdir
from .global_logger import GlobalLogger
from .global_logger import logFunc
from .directory_scanner import scan, scanimgdir, walkimgdir
from .global_logger import GlobalLogger, logFunc
from .image_handler import ImageHandler
from .image_manipulator import ImageManipulator
from .postprocess_runner import PostProcessRunner
from .settings_handler import SettingsHandler


__all__ = [
logFunc,
GlobalLogger,
Expand Down
Loading

0 comments on commit d4136df

Please sign in to comment.