Skip to content

Commit

Permalink
refactor: Refactor code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jjjermiah committed Mar 3, 2024
1 parent 54874a3 commit f8b8ab8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
repos:
- repo: https://github.com/psf/black
rev: 22.10.0
rev: 24.2.0
hooks:
- id: black

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand Down
6 changes: 4 additions & 2 deletions src/nbiatoolkit/nbia_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ def _initialize_parser(description: str) -> argparse.ArgumentParser:
"--username",
action="store",
type=str,
default="nbia_guest", # help="Username for the NBIA API (default: nbia_guest)"
# help="Username for the NBIA API (default: nbia_guest)"
default="nbia_guest",
)

credentials.add_argument(
Expand Down Expand Up @@ -444,7 +445,8 @@ def getNewSeries_cli() -> None:
global query
query = f"newSeries"
p = _initialize_parser(
description=f"NBIAToolkit: {query}. Get new series from a collection since a given date."
description=f"NBIAToolkit: {query}. \
Get new series from a collection since a given date."
)

p.add_argument(
Expand Down

0 comments on commit f8b8ab8

Please sign in to comment.