summaryrefslogtreecommitdiff
path: root/tox.ini
Commit message (Collapse)AuthorAgeFilesLines
* Drop support for Python 3.5 to fix typingMarc Mueller2021-02-151-3/+2
| | | | * Variable annotation (PEP 526) requires Python 3.6
* Add mypy in pre-commit and modify the tox job accordinglyPierre Sassoulas2021-02-071-3/+2
|
* Merge branch 'master' into toward_python39hippo912020-12-291-8/+8
|\
| * Use pre-commit directly in the formatting tox jobPierre Sassoulas2020-12-141-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 versionPierre Sassoulas2020-12-141-4/+4
| | | | | | | | See https://ci.appveyor.com/project/PCManticore/pylint/builds/36810764/job/yifu7v0ky6ea2so4
* | Adds py39 envhippo912020-11-281-1/+1
|/
* profile| Runs pylint against external code, generating profile-heatmapsFrank Harrison2020-11-271-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 blackBryce Guinta2020-10-191-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 codebasePierre Sassoulas2020-09-121-1/+1
|
* Make tool from pre-commit coherent with tox -e formattingPierre Sassoulas2020-09-101-2/+2
|
* Configure readthedocs with a .readthedocs.ymlAshley Whetter2020-09-071-11/+3
|
* tox: Don't mention isort in dependenciesDamien Baty2020-08-181-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 codeDamien Baty2020-08-181-1/+1
|
* Support both isort 4 and isort 5Damien Baty2020-08-181-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 filePierre Sassoulas2020-05-011-2/+2
| | | | Not necessary anymore as we fixed all the problem or disabled them.
* Lint pylint from toxinidir, not the installed oneClaudiu Popa2020-05-011-1/+1
|
* Remove the 'checker' in moved file namePierre Sassoulas2020-04-271-1/+1
|
* Create a directory for checker's unittestsPierre Sassoulas2020-04-271-15/+1
|
* Easier to read list of test to lint in tox.iniPierre Sassoulas2020-04-271-14/+35
|
* benchmark| Potential solution for performance regressions (#3473)Frank Harrison2020-04-261-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 packagePierre Sassoulas2020-04-261-1/+1
| | | | Also move unittest_lint in test/lint.
* profile| Remove the --profile-svg switchFrank Harrison2020-04-231-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-runsFrank Harrison2020-04-231-1/+2
|
* [tox] Extend the pylint check to the relevant parts in testsPierre Sassoulas2020-04-201-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 testsPierre Sassoulas2020-04-201-1/+1
| | | | Also apply the formatting.
* [tox] Extend the black check to the relevant parts in testsPierre Sassoulas2020-04-201-1/+1
| | | | Also apply the formatting.
* tox| Generate coverage htmls via toxFrank Harrison2020-04-191-0/+11
|
* tox| Uses -m coverage instead of path to site-packages (#3464)Frank Harrison2020-04-031-4/+4
| | | | As this was breaking on Fedora, use the coverage module invocation instead of calling the site-package directly.
* also lint setup.pyAnthony Sottile2020-03-241-2/+2
|
* Pin coverage to <5 to account for the private coverage format changingClaudiu Popa2019-12-151-3/+3
|
* [formating] Bump black and isortDjailla2019-11-181-2/+2
| | | | Use last version of black : 19.10b0
* Install pytest when running pylint against itselfMr. Senko2019-11-041-0/+1
| | | | | will help resolve E0401: Unable to import 'pytest' (import-error)
* Pin mypy and typed-ast to fix the CIClaudiu Popa2019-09-301-2/+3
|
* Stopped installing tests with packageAshley Whetter2019-06-201-3/+3
|
* Dropped support for Python 3.4Claudiu Popa2019-06-201-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 causedClaudiu Popa2019-03-291-1/+1
|
* Feat - Add an isort formatting check in the tox.iniPierre Sassoulas2019-03-201-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 configurationPierre Sassoulas2019-03-201-1/+1
|
* Expose Python 3.8 in toxClaudiu Popa2019-03-051-1/+1
|
* Separate pyenchant into a separate stepClaudiu Popa2018-09-291-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 stepsClaudiu Popa2018-09-171-0/+7
|
* fix issue of mypy failing if used from toxssolanki2018-08-211-1/+1
|
* annotations changes on new branch.ssolanki2018-08-211-0/+8
|
* Remove uneeded dependency in toxBryce Guinta2018-08-021-1/+0
| | | | We decided to use -W on sphinx-build instead of the rst linter.
* use sphinx-build instead of rstlintKonstantin Manna2018-08-011-2/+1
|
* check rst files with rst-linterKonstantin Manna2018-08-011-0/+2
|
* Install python-docs-theme before building the odocumentationClaudiu Popa2018-06-051-0/+1
|
* Use python-docs-themeMariatta Wijaya2018-06-051-0/+1
| | | | Closes https://github.com/PyCQA/pylint/issues/2167
* Build the documentation with toxClaudiu Popa2018-06-041-0/+15
|
* Enable Python 3.7 in CIClaudiu Popa2018-05-091-1/+1
|