Skip to content

Commit

Permalink
lint(autogpt): fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ntindle committed Jun 5, 2024
1 parent 9afd0d2 commit 58d83c2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions autogpt/setup.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
from shutil import which
from pkgutil import iter_modules
from shutil import which

from cx_Freeze import setup, Executable
from cx_Freeze import Executable, setup

packages = [
m.name
for m in iter_modules()
if m.ispkg and m.module_finder and("poetry" in m.module_finder.path) # type: ignore
if m.ispkg
and m.module_finder
and ("poetry" in m.module_finder.path) # type: ignore
]

icon = (
Expand Down

0 comments on commit 58d83c2

Please sign in to comment.