PyCQA / baron

IDE allow you to refactor code, Baron allows you to write refactoring code.
http://baron.pycqa.org
GNU Lesser General Public License v3.0
289 stars 50 forks source link

Allow underscores in floats #157

Closed tamentis closed 4 years ago

tamentis commented 4 years ago

They are already accepted in integers and the tokenizer is already doing the right thing for float, the grouper was the only missing part.

tamentis commented 4 years ago

Looks like the build is failing before hitting the test suite:

Downloading archive: https://storage.googleapis.com/travis-ci-language-archives/python/binaries/ubuntu/16.04/x86_64/python-2.6.tar.bz2
0.13s$ curl -sSf --retry 5 -o python-2.6.tar.bz2 ${archive_url}
curl: (22) The requested URL returned error: 404 Not Found
Unable to download 2.6 archive. The archive may not exist. Please consider a different version.
Psycojoker commented 4 years ago

Thx!

Yeah, tests pass locally, I've removed 2.6 from travis-ci, should be fine now.