Commit Graph

18 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
Pierre Sassoulas
569421ca60 Refactor - Remove unused argument 'name' 2019-06-20 14:09:59 +02:00
Pierre Sassoulas
30ba9f4756 Refactor - Clearer function name ('rest' -> 'rst') in utils
I used the old name but there was probably a typo in it, as the format is
called rst.
2019-06-20 14:09:59 +02:00
Pierre Sassoulas
ea49905fe6 Refactor - Remove useless parameter in print_checker_doc 2019-06-20 14:09:59 +02:00
Pierre Sassoulas
6a1d8db4f2 Refactor - Use get_rest_title where it could be 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
b398aafa99 Refactor - Give a checker instead of a string to _print_checker_doc
Will permit to move functions in the BaseChecker class later.
2019-06-20 14:09:59 +02:00
Pierre Sassoulas
2d525d6824 Style - Re-Apply black following the isort cleanup
Change with isort triggered change with black.
2019-03-20 09:07:35 +01:00
Pierre Sassoulas
5ab140ac3b Style - Apply isort on all apllicable files 2019-03-20 09:07:35 +01:00
Sushobhit
71181d23d1 Completely remove six shims from the codebase 2018-05-30 08:50:25 +08:00
Anthony Sottile
377cc42f9e pyupgrade (#2136) 2018-05-22 20:37:07 +02:00
Chris Lamb
444c878efb Make the documentation build reproducibly. (#1761)
Whilst working on the Reproducible Builds effort [0], we noticed
that pylint could not be built reproducibly.

This is due to the documentation generator iterating over the filesystem
in a nondeterminstic order and then iterating over an internal,
nondeterminstic, data structure.

This was originally filed in Debian as #883913.

 [0] https://reproducible-builds.org/
 [1] https://bugs.debian.org/883913

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2017-12-11 09:26:32 +01:00
Ashley Whetter
9f7797ae15 Expanded documentation for new contributors (#1569) 2017-07-12 05:45:16 +01:00
Claudiu Popa
31096db040 Move parts of the documentation into their own folder section. 2016-08-14 21:01:58 +03:00
Glenn Matthews
07cd560c13 Automatic generation of extensions.rst (#988) 2016-07-10 11:18:24 +01:00
Claudiu Popa
3b168dbeed Write bytes, instead of strings. 2016-07-06 17:56:51 +01:00
Claudiu Popa
1452246818 Add the header for the features document. 2016-07-06 17:55:26 +01:00
Claudiu Popa
35019b87f2 Add a Sphinx hook for generating the features file of Pylint's documentation
Currently we can generate this locally using the makefiles, but, unfortunately,
on ReadThedocs we are running only sphinx-build, which means that we have no
pre-generated features.rst file before actually building the documentation.
This commit just adds one, which does the same thing as the makefiles.
2016-07-06 17:51:32 +01:00