cenpy-devs / cenpy

Explore and download data from Census APIs
Other
183 stars 44 forks source link

Resolve warnings #128

Closed ronnie-llamado closed 3 years ago

ronnie-llamado commented 3 years ago

Resolve SyntaxWarning and FutureWarning (from PyProj).

/cenpy/.venv/lib64/python3.9/site-packages/pyproj/crs/crs.py:53: FutureWarning: '+init=<authority>:<code>' 
syntax is deprecated. '<authority>:<code>' is the preferred initialization method. When making the change, 
be mindful of axis order changes: 
https://pyproj4.github.io/pyproj/stable/gotchas.html#axis-order-changes-in-proj-6
/cenpy/cenpy/tiger.py:186: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if kwargs.get("returnGeometry", "true") is "false":
ronnie-llamado commented 3 years ago

I wanted to avoid double uploading the "fix" of test_functional_products.py in #125, so it will fail CI.