Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Drop support for Python 3.5 to fix typing | Marc Mueller | 2021-02-15 | 1 | -3/+2 |
| | | | | * Variable annotation (PEP 526) requires Python 3.6 | ||||
* | Add mypy in pre-commit and modify the tox job accordingly | Pierre Sassoulas | 2021-02-07 | 1 | -3/+2 |
| | |||||
* | Merge branch 'master' into toward_python39 | hippo91 | 2020-12-29 | 1 | -8/+8 |
|\ | |||||
| * | Use pre-commit directly in the formatting tox job | Pierre Sassoulas | 2020-12-14 | 1 | -4/+4 |
| | | | | | | | | Will prevent change in one of the script to affect the other one | ||||
| * | Fix appveyor bug with the version of astroid not matching the real version | Pierre Sassoulas | 2020-12-14 | 1 | -4/+4 |
| | | | | | | | | See https://ci.appveyor.com/project/PCManticore/pylint/builds/36810764/job/yifu7v0ky6ea2so4 | ||||
* | | Adds py39 env | hippo91 | 2020-11-28 | 1 | -1/+1 |
|/ | |||||
* | profile| Runs pylint against external code, generating profile-heatmaps | Frank Harrison | 2020-11-27 | 1 | -0/+17 |
| | | | | | | * Use https gitub uri so we do not need creditials * Shallow clone so we don't pull more data than we need * Ensure we skip external profiling unless explicitly wanted | ||||
* | Modify tox to show diff of formatting changes with black | Bryce Guinta | 2020-10-19 | 1 | -1/+1 |
| | | | | | | | With this change PR submitters can see what needs to be changed instead of just knowing that black needs to be run on the code. I think this is a good kind of feedback | ||||
* | Remove unsecable whitespace in the whole codebase | Pierre Sassoulas | 2020-09-12 | 1 | -1/+1 |
| | |||||
* | Make tool from pre-commit coherent with tox -e formatting | Pierre Sassoulas | 2020-09-10 | 1 | -2/+2 |
| | |||||
* | Configure readthedocs with a .readthedocs.yml | Ashley Whetter | 2020-09-07 | 1 | -11/+3 |
| | |||||
* | tox: Don't mention isort in dependencies | Damien Baty | 2020-08-18 | 1 | -3/+0 |
| | | | | | | | isort is already a dependency of pylint, there is no need to mention it explicitly. Except for the "formatting" environment where we want to pin a specific version to avoid noise when a new version of isort is released that reports errors. | ||||
* | Switch to isort 5 for pylint's own code | Damien Baty | 2020-08-18 | 1 | -1/+1 |
| | |||||
* | Support both isort 4 and isort 5 | Damien Baty | 2020-08-18 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | Remove the test specific configuration file | Pierre Sassoulas | 2020-05-01 | 1 | -2/+2 |
| | | | | Not necessary anymore as we fixed all the problem or disabled them. | ||||
* | Lint pylint from toxinidir, not the installed one | Claudiu Popa | 2020-05-01 | 1 | -1/+1 |
| | |||||
* | Remove the 'checker' in moved file name | Pierre Sassoulas | 2020-04-27 | 1 | -1/+1 |
| | |||||
* | Create a directory for checker's unittests | Pierre Sassoulas | 2020-04-27 | 1 | -15/+1 |
| | |||||
* | Easier to read list of test to lint in tox.ini | Pierre Sassoulas | 2020-04-27 | 1 | -14/+35 |
| | |||||
* | benchmark| Potential solution for performance regressions (#3473) | Frank Harrison | 2020-04-26 | 1 | -2/+30 |
| | | | | | | | | | | | | | * benchmark| Add benchmarking option to tox * benchmark| Adds basic performance benchmark baselines for pylint Here we establish baseline benchmarks for the system when used in minimal way. Here we just confirm that -j1 vs -jN gives some boost in performance under simple situations, establishing a baseline for other benchmarks. Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Refactor - Move the content of lint.py in its own package | Pierre Sassoulas | 2020-04-26 | 1 | -1/+1 |
| | | | | Also move unittest_lint in test/lint. | ||||
* | profile| Remove the --profile-svg switch | Frank Harrison | 2020-04-23 | 1 | -1/+1 |
| | | | | | We can use `tox -epy38 -- --profile-svg` to enable this functionality now that we have the pytest-profile dependency. | ||||
* | profile| Adds profile-heatmap generation output to tox test-runs | Frank Harrison | 2020-04-23 | 1 | -1/+2 |
| | |||||
* | [tox] Extend the pylint check to the relevant parts in tests | Pierre Sassoulas | 2020-04-20 | 1 | -3/+18 |
| | | | | | | | | | The change required would be huge, so we created a configuration file for tests so we can enable rule progressively. We can't add an __init__.py in test to make the command easier to launch because there would be too much imports to modify. So we hard coded the files and directory to lint until https://github.com/PyCQA/pylint/issues/352 is fixed. | ||||
* | [tox] Extend the isort check to the relevant parts in tests | Pierre Sassoulas | 2020-04-20 | 1 | -1/+1 |
| | | | | Also apply the formatting. | ||||
* | [tox] Extend the black check to the relevant parts in tests | Pierre Sassoulas | 2020-04-20 | 1 | -1/+1 |
| | | | | Also apply the formatting. | ||||
* | tox| Generate coverage htmls via tox | Frank Harrison | 2020-04-19 | 1 | -0/+11 |
| | |||||
* | tox| Uses -m coverage instead of path to site-packages (#3464) | Frank Harrison | 2020-04-03 | 1 | -4/+4 |
| | | | | As this was breaking on Fedora, use the coverage module invocation instead of calling the site-package directly. | ||||
* | also lint setup.py | Anthony Sottile | 2020-03-24 | 1 | -2/+2 |
| | |||||
* | Pin coverage to <5 to account for the private coverage format changing | Claudiu Popa | 2019-12-15 | 1 | -3/+3 |
| | |||||
* | [formating] Bump black and isort | Djailla | 2019-11-18 | 1 | -2/+2 |
| | | | | Use last version of black : 19.10b0 | ||||
* | Install pytest when running pylint against itself | Mr. Senko | 2019-11-04 | 1 | -0/+1 |
| | | | | | will help resolve E0401: Unable to import 'pytest' (import-error) | ||||
* | Pin mypy and typed-ast to fix the CI | Claudiu Popa | 2019-09-30 | 1 | -2/+3 |
| | |||||
* | Stopped installing tests with package | Ashley Whetter | 2019-06-20 | 1 | -3/+3 |
| | |||||
* | Dropped support for Python 3.4 | Claudiu Popa | 2019-06-20 | 1 | -1/+1 |
| | | | | | | It reached EoL a while ago an our typed_ast dependency also stopped working for 3.4. Ideally just use a more recent Python version, which also helps us as we don't have to maintain support for multiple minor versions at once. | ||||
* | Pin sphinx to the latest and fix the warning it caused | Claudiu Popa | 2019-03-29 | 1 | -1/+1 |
| | |||||
* | Feat - Add an isort formatting check in the tox.ini | Pierre Sassoulas | 2019-03-20 | 1 | -2/+6 |
| | | | | | Permit to verify the formatting of future commit. Following review see : https://github.com/PyCQA/pylint/pull/2805#discussion_r266793201 | ||||
* | Chore - Update black and pre-commit in configuration | Pierre Sassoulas | 2019-03-20 | 1 | -1/+1 |
| | |||||
* | Expose Python 3.8 in tox | Claudiu Popa | 2019-03-05 | 1 | -1/+1 |
| | |||||
* | Separate pyenchant into a separate step | Claudiu Popa | 2018-09-29 | 1 | -1/+13 |
| | | | | | | | | pyenchant is no longer maintained and doesn't seem to install correctly on all systems. But it is installable on Travis, so instead we separated that from the main test suite in order to run it in its own step. Close #1900 | ||||
* | Add tox and travis black steps | Claudiu Popa | 2018-09-17 | 1 | -0/+7 |
| | |||||
* | fix issue of mypy failing if used from tox | ssolanki | 2018-08-21 | 1 | -1/+1 |
| | |||||
* | annotations changes on new branch. | ssolanki | 2018-08-21 | 1 | -0/+8 |
| | |||||
* | Remove uneeded dependency in tox | Bryce Guinta | 2018-08-02 | 1 | -1/+0 |
| | | | | We decided to use -W on sphinx-build instead of the rst linter. | ||||
* | use sphinx-build instead of rstlint | Konstantin Manna | 2018-08-01 | 1 | -2/+1 |
| | |||||
* | check rst files with rst-linter | Konstantin Manna | 2018-08-01 | 1 | -0/+2 |
| | |||||
* | Install python-docs-theme before building the odocumentation | Claudiu Popa | 2018-06-05 | 1 | -0/+1 |
| | |||||
* | Use python-docs-theme | Mariatta Wijaya | 2018-06-05 | 1 | -0/+1 |
| | | | | Closes https://github.com/PyCQA/pylint/issues/2167 | ||||
* | Build the documentation with tox | Claudiu Popa | 2018-06-04 | 1 | -0/+15 |
| | |||||
* | Enable Python 3.7 in CI | Claudiu Popa | 2018-05-09 | 1 | -1/+1 |
| |