Skip to content

Commit

Permalink
style(pep8): 🚨 🚨 🚨
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineDao committed Jun 9, 2020
1 parent 5af48e9 commit aa81589
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 13 deletions.
5 changes: 1 addition & 4 deletions queenbee/cli/config/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@
@click.group('config')
@click.pass_context
def main(ctx):
"""manage queenbee configuration data
"""
"""manage queenbee configuration data"""
pass

main.add_command(view)
Expand Down
10 changes: 2 additions & 8 deletions queenbee/cli/config/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,12 @@

@click.group('auth')
def auth():
"""manage queenbee configuration auth
"""
"""manage queenbee configuration auth"""
pass

@auth.group('add')
def add():
"""add auth domains and methods to your queenbee config
"""
"""add auth domains and methods to your queenbee config"""
pass

@add.command('pollination')
Expand Down
1 change: 1 addition & 0 deletions queenbee/config/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def auth_header(self):
def refresh_token(self):
pass


class JWTAuth(BaseAuth):

type: Enum('JWTAuth', {'type': 'jwt'}) = 'jwt'
Expand Down
2 changes: 1 addition & 1 deletion queenbee/repository/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def from_package(cls, package_path: str):

tar_file = TarFile.open(file_path)

version, _, _, _, _ = cls.unpack_tar(tar_file=filebytes, verify_digest=False)
version, *_ = cls.unpack_tar(tar_file=filebytes, verify_digest=False)

return version

Expand Down

0 comments on commit aa81589

Please sign in to comment.