Skip to content

Commit a0175e3

Browse files
committed
Ignore Ruff errors in CLI script
1 parent c21b0b1 commit a0175e3

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

bin/uv-operations.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ def run_uv_command(location: Path, uv_args: list[str], verbose: bool = False) ->
7474
def run_across_locations(
7575
uv_args: list[str],
7676
code_locations_dir: Path,
77-
continue_on_error: bool,
78-
verbose: bool,
77+
continue_on_error: bool, # noqa: FBT001
78+
verbose: bool, # noqa: FBT001
7979
) -> None:
8080
"""
8181
Run a uv command across all code locations.
@@ -162,13 +162,13 @@ def sync(
162162
help="Base directory containing code locations",
163163
),
164164
] = Path(__file__).parent.parent / "dg_projects",
165-
continue_on_error: Annotated[
165+
continue_on_error: Annotated[ # noqa: FBT002
166166
bool,
167167
Parameter(
168168
help="Continue running even if some locations fail",
169169
),
170170
] = False,
171-
verbose: Annotated[
171+
verbose: Annotated[ # noqa: FBT002
172172
bool,
173173
Parameter(
174174
help="Print verbose output",
@@ -181,7 +181,7 @@ def sync(
181181

182182
@app.command
183183
def lock(
184-
upgrade: Annotated[
184+
upgrade: Annotated[ # noqa: FBT002
185185
bool,
186186
Parameter(
187187
help="Upgrade all dependencies to latest versions",
@@ -193,13 +193,13 @@ def lock(
193193
help="Base directory containing code locations",
194194
),
195195
] = Path(__file__).parent.parent / "dg_projects",
196-
continue_on_error: Annotated[
196+
continue_on_error: Annotated[ # noqa: FBT002
197197
bool,
198198
Parameter(
199199
help="Continue running even if some locations fail",
200200
),
201201
] = False,
202-
verbose: Annotated[
202+
verbose: Annotated[ # noqa: FBT002
203203
bool,
204204
Parameter(
205205
help="Print verbose output",
@@ -221,13 +221,13 @@ def build(
221221
help="Base directory containing code locations",
222222
),
223223
] = Path(__file__).parent.parent / "dg_projects",
224-
continue_on_error: Annotated[
224+
continue_on_error: Annotated[ # noqa: FBT002
225225
bool,
226226
Parameter(
227227
help="Continue running even if some locations fail",
228228
),
229229
] = False,
230-
verbose: Annotated[
230+
verbose: Annotated[ # noqa: FBT002
231231
bool,
232232
Parameter(
233233
help="Print verbose output",
@@ -252,13 +252,13 @@ def pip(
252252
help="Base directory containing code locations",
253253
),
254254
] = Path(__file__).parent.parent / "dg_projects",
255-
continue_on_error: Annotated[
255+
continue_on_error: Annotated[ # noqa: FBT002
256256
bool,
257257
Parameter(
258258
help="Continue running even if some locations fail",
259259
),
260260
] = False,
261-
verbose: Annotated[
261+
verbose: Annotated[ # noqa: FBT002
262262
bool,
263263
Parameter(
264264
help="Print verbose output",

0 commit comments

Comments
 (0)