qbraid-cli 0.10.1__py3-none-any.whl → 0.10.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of qbraid-cli might be problematic. Click here for more details.

qbraid_cli/_version.py CHANGED
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '0.10.1'
16
- __version_tuple__ = version_tuple = (0, 10, 1)
15
+ __version__ = version = '0.10.2'
16
+ __version_tuple__ = version_tuple = (0, 10, 2)
qbraid_cli/admin/app.py CHANGED
@@ -29,7 +29,7 @@ def admin_headers(
29
29
  "default", "--type", "-t", help="Type of header to use."
30
30
  ),
31
31
  skip_files: list[str] = typer.Option(
32
- [], "--skip", "-s", help="Files to skip during verification.", callback=validate_paths_exist
32
+ [], "--skip", "-s", help="Files to skip during verification."
33
33
  ),
34
34
  fix: bool = typer.Option(
35
35
  False, "--fix", "-f", help="Whether to fix the headers instead of just verifying."
@@ -74,7 +74,7 @@ DEFAULT_HEADER_APACHE = f"""# Copyright {CURR_YEAR} qBraid
74
74
  DEFAULT_HEADER_MIT = f"""# MIT License
75
75
  #
76
76
  # Copyright (c) {CURR_YEAR} qBraid
77
- #
77
+ #
78
78
  # Permission is hereby granted, free of charge, to any person obtaining a copy
79
79
  # of this software and associated documentation files (the "Software"), to deal
80
80
  # in the Software without restriction, including without limitation the rights
@@ -116,7 +116,7 @@ def get_formatted_header(header_type: HeaderType, project_name: Optional[str] =
116
116
  header = HEADER_TYPES[header_type]
117
117
  if header_type == HeaderType.gpl:
118
118
  if project_name is None:
119
- raise ValueError("Project name is required for GPL header")
119
+ handle_error("ValueError", "Project name is required for GPL header")
120
120
 
121
121
  if project_name.split(" ")[0].lower() == "the":
122
122
  project_name = project_name[:1].lower() + project_name[1:]
@@ -126,7 +126,7 @@ def get_formatted_header(header_type: HeaderType, project_name: Optional[str] =
126
126
  return header.format(project_name=project_name, project_name_start=project_name_start)
127
127
 
128
128
  if project_name is not None:
129
- warnings.warn(f"Project name is not used for header type '{header_type}'.", UserWarning)
129
+ warnings.warn(f"\nProject name is not used for header type '{header_type}'.", UserWarning)
130
130
 
131
131
  return header
132
132
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: qbraid-cli
3
- Version: 0.10.1
3
+ Version: 0.10.2
4
4
  Summary: Command Line Interface for interacting with all parts of the qBraid platform.
5
5
  Author-email: qBraid Development Team <contact@qbraid.com>
6
6
  License: Proprietary
@@ -1,5 +1,5 @@
1
1
  qbraid_cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- qbraid_cli/_version.py,sha256=OdG2_6w6FvkJtcxuDqsrHq9o7KyEp29aa9Ex1eq_wJ0,413
2
+ qbraid_cli/_version.py,sha256=P2LcS304CNfC7-4HmgJ7mOolbYzFq52r9x8T9U56foY,413
3
3
  qbraid_cli/exceptions.py,sha256=KjlhYJhSHMVazaNiBjD_Ur06w4sekP8zRsFzBdyIpno,672
4
4
  qbraid_cli/handlers.py,sha256=B9H1Qw6yx8izrqp9OGR2TgSJa_mxA8KLXUkX8LB7Feg,7650
5
5
  qbraid_cli/main.py,sha256=aSOQyoRRvKBJBcx8VtU4zKZ2WHvGKHhw8I-WiRwPxcE,3926
@@ -7,8 +7,8 @@ qbraid_cli/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  qbraid_cli/account/__init__.py,sha256=smlpUcVkM3QEbJG0norGM7i71XBJlUGQYByswTfPnmg,181
8
8
  qbraid_cli/account/app.py,sha256=1UogauwgX0Hnr7H6cBV2Qv-lT6aRpRLAimCyLi0afGI,1843
9
9
  qbraid_cli/admin/__init__.py,sha256=qcWD5mQEUCtr49mrUpZmk7eGDe0L_Gtc8RwZmzIXSwo,175
10
- qbraid_cli/admin/app.py,sha256=nB08pHAHwsTT-0pPPyoT8plYJ7suMsjQC4G6GQV1m6g,1507
11
- qbraid_cli/admin/headers.py,sha256=XKVJ-VMk7mwhCardvVTyKdmYRwFfy6wdOiXuJT_6GLI,10599
10
+ qbraid_cli/admin/app.py,sha256=i_JeyJYHT6qoJrsTuf_eippp7AG6ZJ_N6-Dsrpv2XHQ,1476
11
+ qbraid_cli/admin/headers.py,sha256=QWAEuOu3rqumngLlOaGTI2R2wqyqmC0gUNpRt_74pd0,10610
12
12
  qbraid_cli/admin/validation.py,sha256=fhpttxupCGBk56ExQPuuQm8nMnptLLy_8sj-EjpM8g0,729
13
13
  qbraid_cli/chat/__init__.py,sha256=NO41vndEdfr0vDynNcmHFh-nhzWjnWqGm4M9parikck,258
14
14
  qbraid_cli/chat/app.py,sha256=-YqCLGDh4ezF149xB3dfuUAQotKAklZwYp0BL3HhA90,2256
@@ -34,9 +34,9 @@ qbraid_cli/kernels/app.py,sha256=n-iyWJHy7_ML6qk4pp-v_rQkGA7WfnZMG8gyiCFGO1c,294
34
34
  qbraid_cli/pip/__init__.py,sha256=tJtU0rxn-ODogNh5Y4pp_BgDQXMN-3JY1QGj0OZHwjQ,169
35
35
  qbraid_cli/pip/app.py,sha256=jkk-djductrDOJIRYfHK_7WDJ12f0zOT3MMkiZp97oM,1365
36
36
  qbraid_cli/pip/hooks.py,sha256=jkIeev3cOd-cmaoJSdSqbmhTYCs6z1we84FMqa3ZoZw,2124
37
- qbraid_cli-0.10.1.dist-info/LICENSE,sha256=P1gi-ofB8lmkRt_mxDoJpcgQq9Ckq9WhRAS1oYk-G1s,2506
38
- qbraid_cli-0.10.1.dist-info/METADATA,sha256=JyzYepNfW0YgXovLrvZgmn-Icp4yTKdtZvNEO8z_UlA,7526
39
- qbraid_cli-0.10.1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
40
- qbraid_cli-0.10.1.dist-info/entry_points.txt,sha256=c5ZJ7NjbxhDqMpou9q5F03_b_KG34HzFDijIDmEIwgQ,47
41
- qbraid_cli-0.10.1.dist-info/top_level.txt,sha256=LTYJgeYSCHo9Il8vZu0yIPuGdGyNaIw6iRy6BeoZo8o,11
42
- qbraid_cli-0.10.1.dist-info/RECORD,,
37
+ qbraid_cli-0.10.2.dist-info/LICENSE,sha256=P1gi-ofB8lmkRt_mxDoJpcgQq9Ckq9WhRAS1oYk-G1s,2506
38
+ qbraid_cli-0.10.2.dist-info/METADATA,sha256=qFczMBer5aTeKTOu1rCsBlhUgZFgYhLR1L8F_f44KMc,7526
39
+ qbraid_cli-0.10.2.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
40
+ qbraid_cli-0.10.2.dist-info/entry_points.txt,sha256=c5ZJ7NjbxhDqMpou9q5F03_b_KG34HzFDijIDmEIwgQ,47
41
+ qbraid_cli-0.10.2.dist-info/top_level.txt,sha256=LTYJgeYSCHo9Il8vZu0yIPuGdGyNaIw6iRy6BeoZo8o,11
42
+ qbraid_cli-0.10.2.dist-info/RECORD,,