Anthony Sottile
a45505143f
pyupgrade: automated removal of python2 constructs
...
using configuration:
```yaml
- repo: https://github.com/asottile/pyupgrade
rev: v2.1.0
hooks:
- id: pyupgrade
args: [--py3-plus, --keep-percent-format]
exclude: ^tests/(extensions/data/|functional/|input/|regrtest_data/)
```
2020-03-24 10:27:21 +01:00
Hugo van Kemenade
b72c0dd9a3
Remove redundant compatibility code ( #3097 )
...
We no longer support Python 2 so we can remove
the compatibility code we had in place for that version.
2019-09-12 06:10:27 -05:00
Pierre Sassoulas
273492326c
Refactor - Move refactor.utils function to the utils package
...
This permit to have less cross dependency as the utils package
does not depend on anything. The checker package still depends
on reporter. Also moved classes from __init__ to their own file
in reporter.
2019-03-29 09:37:05 +01:00