Skip to content

Commit

Permalink
execute_all can handle None for filters
Browse files Browse the repository at this point in the history
  • Loading branch information
lonvia committed Sep 27, 2024
1 parent 07b415b commit fddd6ae
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/nominatim_data_analyser/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ def cli() -> int:

# Executes all the QA rules. If a filter is given, these rules are excluded from the execution.
if args.execute_all:
if args.filter:
core.execute_all(args.filter)
else:
core.execute_all()
core.execute_all(args.filter)
elif args.execute_one:
# Execute the given QA rule.
core.execute_one(args.execute_one)
Expand Down

0 comments on commit fddd6ae

Please sign in to comment.