summaryrefslogtreecommitdiff
path: root/tox.ini
Commit message (Collapse)AuthorAgeFilesLines
* Use 3.11 for Github actions (#6551)Pierre Sassoulas2022-09-301-1/+1
| | | | | | | Use ``dill-pylint`` (our own version of dill) because dill's 0.3.6 release is taking forever. Closes #5920 Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
* Update `tox.ini` (#7358)Mark Byrne2022-08-261-6/+4
| | | | | | - Install `requirements_test.txt` into `formatting` & `pylint` environments. `import-error` was showing during the `pylint` run for `contributors-txt` & `colorama` in these two environments. - Bump `minversion` to match the version in `requirements_test.txt`. - Bump `pre-commit` dependency version in the `mypy` environment to match the version in `requirements_test.txt`.
* Add command to `tox.ini` & update existing github action to use it.Mark Byrne2022-07-181-0/+6
|
* Update tox.ini - Add `isolated_build = true`.Mark Byrne2022-07-181-0/+1
| | | | Closes #7188
* Require python ``3.7.2+`` (#5921)Daniël van Noord2022-04-111-1/+1
| | | | * Remove env from tox * Add changelog
* Fix tox dependencies with pypy (#5217)nozzy123nozzy2021-10-271-1/+3
|
* Update pre-commit requirement from ~=2.12 to ~=2.13 (#4495)dependabot[bot]2021-05-241-3/+3
| | | | | | | | | | | | | | | * Update pre-commit requirement from ~=2.12 to ~=2.13 Updates the requirements on [pre-commit](https://github.com/pre-commit/pre-commit) to permit the latest version. - [Release notes](https://github.com/pre-commit/pre-commit/releases) - [Changelog](https://github.com/pre-commit/pre-commit/blob/master/CHANGELOG.md) - [Commits](https://github.com/pre-commit/pre-commit/compare/v2.12.0...v2.13.0) Signed-off-by: dependabot[bot] <support@github.com> * Update tox.ini Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
* Add py310 as tox envMarc Mueller2021-05-111-1/+1
|
* Tox - update pre-commit version (#4463)Marc Mueller2021-05-101-3/+3
|
* Remove duplication of requirement file for docPierre Sassoulas2021-04-061-1/+1
|
* Autoformat tox.ini after failing to move it to setup.cfgPierre Sassoulas2021-04-051-17/+10
|
* Remove extra-require from the packagingPierre Sassoulas2021-04-051-3/+3
|
* #4290: remove skip_install in testenv docs (#4292)DudeNr332021-04-031-1/+0
| | | | Doc creation failed because the necessary dependencies where not installed.
* tox: run formatting by defaultPeter Kolbus2021-03-071-1/+1
| | | | | | Change tox to run formatting instead of pylint by default, to get flake8, mypy, and other checks. Formatting runs first because some of the pre-commit hooks may modify files.
* Typing changes + disable unused pylint plugin for pre-commit (#4205)Marc Mueller2021-03-071-0/+1
|
* Simplify the 'tox -e pylint' job with pre-commitPierre Sassoulas2021-03-071-25/+2
|
* Update tox configMarc Mueller2021-02-281-81/+31
|
* CI improvements from pinning astroid versionMarc Mueller2021-02-281-3/+4
|
* Additional changesMarc Mueller2021-02-201-11/+0
|
* Update tox.ini formattingMarc Mueller2021-02-201-9/+9
|
* 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
|