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
Eric Froemling
8271816027
useless-suppression detection now ignores cyclic-import ( #3071 )
...
Tweaked useless-suppression detection to ignore cyclic-import since cycles may not be detected until after it fires.
2019-08-22 14:37:03 +02:00
Claudiu Popa
6b0003da63
Fix a bunch of linting errors from the codebase
2019-05-22 09:26:18 +02:00
Pierre Sassoulas
1dbbb35d93
Refactor - Avoid intra-packages circular dependencies for constants
...
Some constants were package internal but were used by multiple
packages. This created circular dependencies. By creating a
file for constants we make sure this does not happen because
we won't import everything important in this file and every
thing else can depend on it.
2019-03-29 09:37:05 +01:00
Pierre Sassoulas
5ab140ac3b
Style - Apply isort on all apllicable files
2019-03-20 09:07:35 +01:00
Pierre Sassoulas
2b50749867
Refactor - Create a pylint.message package
...
There is a lot of Message related class in Utils
this warrant the creation of a new package.
See also review for burst utils.py into a package here:
https://github.com/PyCQA/pylint/pull/2654#issuecomment-470748956
2019-03-09 11:09:29 +01:00
Pierre Sassoulas
16e98598c6
Refactor - Create a file for each class in utils
2019-03-09 11:09:29 +01:00