Skip to content

Commit a84964f

Browse files
committed
fix some linter issues
1 parent 10ffafe commit a84964f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/trackr/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def list_cmd(
261261
typer.echo("No items found.")
262262
return
263263

264-
VALID_FIELDS = {# module top-level
264+
valid_fields = {# module top-level
265265
"id",
266266
"title",
267267
"description",
@@ -275,7 +275,7 @@ def list_cmd(
275275
selected_fields = [f.strip() for f in fields.split(",")]
276276

277277
for f in selected_fields:
278-
if f not in VALID_FIELDS:
278+
if f not in valid_fields:
279279
raise typer.BadParameter(f"Invalid field: {f}")
280280

281281
for row in rows:

0 commit comments

Comments
 (0)