Skip to content

Commit

Permalink
more warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
danvk committed Oct 14, 2024
1 parent a50edb0 commit 902fe6f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion coders/milstein.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@

# example: "P.S. 5., Brooklyn, N.Y." (-> Should come out as "PS 123")
# ~150
ps_re = '((?:PS|P\.S\.|Public School) (?:#|No\. )?\d+\.?), ((?:(?:%s), )?%s)' % (staten_neighborhoods, boros)
ps_re = r"((?:PS|P\.S\.|Public School) (?:#|No\. )?\d+\.?), ((?:(?:%s), )?%s)" % (
staten_neighborhoods,
boros,
)
place_patterns = [place_re, ps_re]

ps_cleanup_re = r'(?:PS|P\.S\.|Public School) (?:#|No\. )?(\d+)\.?'
Expand Down
1 change: 0 additions & 1 deletion geocoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
# Maintains a cache of previously-geocoded locations and throttles traffic to the Geocoder.

import base64
import os
import re
import sys
import time
Expand Down

0 comments on commit 902fe6f

Please sign in to comment.