Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed lint errors.
  • Loading branch information
jackton1 committed Jun 12, 2022
commit 989b6bdc749342f2e2bbe8daf195b5f5340bff2e
10 changes: 6 additions & 4 deletions github_deploy/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ def list_commands(self, ctx):
rv = []
for filename in os.listdir(plugin_folder):
if (
filename.endswith(".py")
and not filename.startswith("__init__")
and not filename.startswith("_")
filename.endswith(".py")
and not filename.startswith("__init__")
and not filename.startswith("_")
):
rv.append(filename[:-3])
rv.sort()
Expand All @@ -31,7 +31,9 @@ def get_command(self, ctx, name):


main = GithubDeploy(
help="Deploy changes to multiple github repositories using a single command.",
help=(
"Deploy changes to multiple github repositories using a single command."
),
)

if __name__ == "__main__":
Expand Down