Skip to content

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

Open
galjos wants to merge 1 commit into
mainfrom
fix/free-filter-unknown-fee
Open

Require explicit fee=no for --free#7
galjos wants to merge 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

Made with Cursor

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.

Co-authored-by: Cursor <cursoragent@cursor.com>
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