Skip to content

Commit

Permalink
refactor: use int type implicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
Romazes committed Dec 24, 2024
1 parent ad54c9a commit 98307de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lean/models/json_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def get_project_id(self, default_project_id: int, require_project_id: bool) -> i
:return: A valid project ID.
"""
from click import prompt
project_id = default_project_id
project_id: int = default_project_id
if require_project_id and project_id <= 0:
project_id = prompt("Please enter any cloud project ID to proceed with Auth0 authentication",
-1, show_default=False)
Expand Down

0 comments on commit 98307de

Please sign in to comment.