mysociety / mapit

A web service to map postcodes to administrative boundaries and more
Other
269 stars 88 forks source link

Add filtering and excluding by mutliple types and countries in raise generation script. #399

Closed neprune closed 1 year ago

neprune commented 1 year ago

Allows selecting multiple countries / types e.g. --type "ABC" --type "DEF" --country "E" -- country "W".

Also allows flipping to exclude by type or country via --type-mode "all-but" --country-mode "all-but".

codecov[bot] commented 1 year ago

Codecov Report

Merging #399 (e2792cf) into master (8cac638) will increase coverage by 0.38%. The diff coverage is 100.00%.

:exclamation: Current head e2792cf differs from pull request most recent head a784963. Consider uploading reports for the commit a784963 to get more accurate results

@@            Coverage Diff             @@
##           master     #399      +/-   ##
==========================================
+ Coverage   72.04%   72.43%   +0.38%     
==========================================
  Files          40       40              
  Lines        2347     2380      +33     
==========================================
+ Hits         1691     1724      +33     
  Misses        656      656              
Impacted Files Coverage Δ
...ommands/mapit_generation_raise_on_current_areas.py 88.00% <100.00%> (+3.38%) :arrow_up:
mapit/tests/test_generation_commands.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

dracos commented 1 year ago

(PS Tiny typo in commit message before merging)