Commit Graph

6 Commits

Author SHA1 Message Date
Pierre Sassoulas
5bed07eba9 Move from % string formatting syntax to f-string or .format() 2021-02-21 15:36:16 +01:00
Jeremy Fleischman
fe0a7f7953
Allow numbers in checker names. (#3667)
This fixes https://github.com/PyCQA/pylint/issues/3666.
2020-06-08 07:51:23 +02:00
Claudiu Popa
ffb354aea0 Fix a regression where messages with dash are not fully parsed
Close #3604
2020-05-14 19:04:32 +02:00
Pierre Sassoulas
3fffdf03d5 Fix trailing whitespaces and trailing newlines 2020-05-03 18:24:25 +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
hippo91
9bdae8b82f Add support for disabling line-too-long for multilines strings
This commit adds support for disabling `line-too-long` messages
for multilines strings such as docstrings.

When a pylint disable pragma is present at the end of the docstring, it is taken
in account for the entire docstring.

Close #2957
2019-11-19 09:16:54 +01:00