Skip to content

Require explicit fee=no for --free - #7

Merged
galjos merged 1 commit into
mainfrom
fix/free-filter-unknown-fee
Sep 4, 2026
Merged

Require explicit fee=no for --free#7
galjos merged 1 commit into
mainfrom
fix/free-filter-unknown-fee

Conversation

@galjos

@galjos galjos commented Sep 2, 2026

Copy link
Copy Markdown
Owner

Summary

Test plan

  • uv run pytest tests/test_chargers.py -q
  • Spot-check near Bolzano: pitstop chargers --near 46.498,11.354 --radius 25 --free --json returns only fee: false

Unknown OSM fee tags were passing --free, so most "free" results near
Bolzano could still bill. --public had the same unknown-tag leak. Refs #6.
@galjos
galjos force-pushed the fix/free-filter-unknown-fee branch 2 times, most recently from 6ec2881 to 699a56a Compare September 4, 2026 08:14
@galjos
galjos merged commit cb6aff3 into main Sep 4, 2026
5 checks passed
@galjos
galjos deleted the fix/free-filter-unknown-fee branch September 4, 2026 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

--free returns chargers whose fee is unknown

1 participant