Skip to content

Commit

Permalink
refactor(artlayer): remove unused import of LayerKind enumeration
Browse files Browse the repository at this point in the history
Signed-off-by: longhao <[email protected]>
  • Loading branch information
loonghao committed Dec 29, 2024
1 parent 7a4686a commit 96ab158
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 37 deletions.
66 changes: 30 additions & 36 deletions .flake8
Original file line number Diff line number Diff line change
@@ -1,36 +1,30 @@
[flake8]
ignore = BLK100

# flake8-quotes:
# Use double quotes as our default to comply with black, we like it and
# don't want to use single quotes anymore.
# We would love to configure this via our pyproject.toml but flake8-3.8 does
# not support it yet.
inline-quotes = double
multiline-quotes = double
docstring-quotes = double
avoid-escape = True

# flake8-docstrings
# Use the Google Python Styleguide Docstring format.
docstring-convention=google

exclude =
# No need to traverse our git directory
.git,
# There's no value in checking cache directories
__pycache__,
# The conf file is mostly autogenerated, ignore it
docs/source/conf.py,
# The old directory contains Flake8 2.0
old,
# This contains our built documentation
build,
# This contains builds of flake8 that we don't want to check
dist,
venv,
docs
examples
test

max-line-length = 120
[flake8]
ignore = BLK100

# flake8-quotes:
# Use double quotes as our default to comply with black, we like it and
# don't want to use single quotes anymore.
# We would love to configure this via our pyproject.toml but flake8-3.8 does
# not support it yet.
inline-quotes = double
multiline-quotes = double
docstring-quotes = double
avoid-escape = True

# flake8-docstrings
# Use the Google Python Styleguide Docstring format.
docstring-convention = google

exclude =
.git,
__pycache__,
docs/source/conf.py,
old,
build,
dist,
venv,
docs,
examples,
test

max-line-length = 120
1 change: 0 additions & 1 deletion photoshop/api/_artlayer.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

# Import local modules
from photoshop.api._core import Photoshop
from photoshop.api.enumerations import LayerKind
from photoshop.api.enumerations import RasterizeType
from photoshop.api.text_item import TextItem

Expand Down

0 comments on commit 96ab158

Please sign in to comment.