Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrillkuettel committed May 14, 2024
1 parent dd99d37 commit 6dd43dd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/privatim/cli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def cli() -> None:
cli.add_command(add_user)


def find_ini_files() -> Iterator[str]:
def find_ini_files() -> 'Iterator[str]':
current_path = os.path.dirname(os.path.abspath(__file__))
while current_path != os.path.abspath(os.path.join(current_path, '..')):
for filename in os.listdir(current_path):
Expand Down
2 changes: 1 addition & 1 deletion src/privatim/cli/initialize_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,4 @@ def add_example_content(db: 'Session') -> None:


if __name__ == '__main__':
main()
main()
1 change: 1 addition & 0 deletions src/privatim/cli/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def init_completer(self) -> None:
readline.set_history_length(100)
readline.parse_and_bind("tab: complete")


@click.command()
def shell() -> None:
"""Enters an interactive shell."""
Expand Down

0 comments on commit 6dd43dd

Please sign in to comment.