Commit Graph

5 Commits

Author SHA1 Message Date
Pierre Sassoulas
7831157f47 The full version is a constant we can just import it 2020-05-10 11:02:10 +02:00
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
Pierre Sassoulas
748bb0b60f Doc - Retrocompatibility with the main checker name 2019-06-20 14:09:59 +02:00
Pierre Sassoulas
8a09f2dda7 Refactor - Use a constant for the main checker name
Following review see : https://github.com/PyCQA/pylint/pull/2844#discussion_r281014968
2019-06-20 14:09:59 +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