| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
* Don't check directories starting with '.' when using register_plugins
* CI - Add benchmark job
|
|
|
|
| |
We can do that in python 3.6
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The API of isort 5 (released on 2020-07-04) is completely different.
We must still support isort 4 because isort 5 dropped the
compatibility with Python 3.5, which pylint still supports.
Note about the `known-standard-library` option: it has been included
in pylint for years. Until now, it was mapped with the option of the
same name in isort. However, isort 5 has changed the meaning of this
option (see https://timothycrosley.github.io/isort/docs/upgrade_guides/5.0.0/#known_standard_library).
Most users of pylint want the meaning of the new
`extra-standard-library` option. To avoid a breaking change in pylint,
the `known-standard-library` pylint option is now mapped to
`known-standard-library` in isort 4, and `extra-standard-library` in
isort 5. Users that really want the _new_ meaning of
`known-standard-library` in isort 4 must disable the
`wrong-import-order` check in pylint and run isort manually, outside
of pylint.
Fix #3722.
|
| |
|
|
|
|
|
| |
This was a regressin in 2.5.
Close #3528
|
|
|
|
| |
Close #3524
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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/)
```
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
We no longer support Python 2 so we can remove
the compatibility code we had in place for that version.
|
| |
|
|
|
|
|
| |
I used the old name but there was probably a typo in it, as the format is
called rst.
|
|
|
|
| |
We want to use them in Checker too.
|
| |
|
|
|
|
|
| |
There might be code that is used only in test but it's harder
to detect.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Now that there is no more circular import we can do that.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Following review see : https://github.com/PyCQA/pylint/pull/2654#issuecomment-470748956
|
| |
|
| |
|
| |
|
|
|