*: refactor with a modified 2to3's numliterals fixer
this used a modified numliterals that: - do not rewrite 1L as 1 - rewrite 01 as 1 and only rewrite as 0o1 when more than 2 digits, because we had mostly dates written as DateTime(2019, 01, 10) that we want to rewrite as DateTime(2019, 1, 10), not DateTime(2019, 0o1, 10)
Showing
Please register or sign in to comment