Commit Graph

8 Commits

Author SHA1 Message Date
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
ac30e1e766 [pylint.message] Remove a check that never fail
It seems to make performance 2/3 % better during test and during pylint
own analysis.
2019-09-10 11:14:38 +02:00
Pierre Sassoulas
572ed87ee9 [pylint.message] Optimize MessageDefinitionStore storage 2019-09-10 11:14:38 +02:00
Pierre Sassoulas
641a0d02a3 [pylint.message] Simplify get_message_definitions 2019-09-10 11:14:38 +02:00
Pierre Sassoulas
6c29ff712a [pylint.message] Simplification with 1-1 link between symbol and msgid
Also add a lot of unit tests.
2019-08-19 13:54:52 +02:00
Pierre Sassoulas
bd24f94c77 [pylint.message] Symbol seems to never be None anymore 2019-08-16 17:25:23 +02:00
Pierre Sassoulas
68507788fb [pylint.message] Rename MessagesStore to MessageDefinitionStore
We anticipate to have a MessageIdStore.
2019-08-09 15:02:19 +02:00