summaryrefslogtreecommitdiff
path: root/pylint/testutils
Commit message (Collapse)AuthorAgeFilesLines
* [primer] Fix commit string generation (#8639)Jacob Walls2023-04-301-2/+3
| | | Follow-up to 87a4d672a8661aa61d5717fd902315d9563e33b6.
* Add home-assistant to primer and remove old external primer (#8612)Jacob Walls2023-04-291-1/+1
|
* Drop support for Python 3.7 (#8609)Marc Mueller2023-04-245-34/+5
| | | | | * Drop support for Python 3.7 * Update py-version + classifier * Update functional tests
* Clear cache between primer package runsJacob Walls2023-04-231-1/+2
|
* Disable Info linters in definition instead of Run class (#8576)Matus Valo2023-04-141-0/+4
|
* Add Pyreverse option to exclude standalone nodes (#8520)Nick Drozd2023-04-021-0/+2
| | | | | | | | | | | * Add Pyreverse option to exclude standalone nodes * Add test * Add package test * Fix test names * Clean up test files
* [PyCQA migration] Upgrade links to the repositories in code and doc (#8514)Pierre Sassoulas2023-03-2926-53/+53
|
* [deprecation] Make 'OutputLine' require a fixed number of args (#8474)Pierre Sassoulas2023-03-281-48/+12
| | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
* [testutil] Remove unused variable from find_functional_testsPierre Sassoulas2023-03-281-3/+4
|
* [testutil] Do not count files with leading underscoresPierre Sassoulas2023-03-281-9/+15
|
* [testutil] Display recursive call for crowded functional test dirPierre Sassoulas2023-03-281-8/+23
|
* [testutil] Display all the crowded functional test dir at oncePierre Sassoulas2023-03-281-5/+9
|
* [testutil] Fix the algorithm for functional test discoveryPierre Sassoulas2023-03-281-14/+30
|
* [functional tests] Display all violations for disorganized directoriesPierre Sassoulas2023-03-281-6/+16
|
* [testutil] Add proper test for the functional tests helpersPierre Sassoulas2023-03-282-10/+3
|
* Upgrade TODO for pylint 2.X to pylint 3.0 (#8480)Pierre Sassoulas2023-03-221-1/+1
| | | Closes #8335
* [deprecation] Remove 'do_exit' from the 'Run' constructor (#8472)Pierre Sassoulas2023-03-211-4/+1
|
* Add explicit 'stack_level' keyword in Deprecation/User warningsPierre Sassoulas2023-03-212-1/+5
|
* [deprecation] end_line and end_col_offset required in functional tests (#8466)Pierre Sassoulas2023-03-201-18/+2
|
* pyreverse: Add show-stdlib option (#8190)Avram Lubkin2023-03-101-0/+2
| | | | | | | | | | | | | * pyreverse: Add show-stdlib option * Switch to astroid.modutils.is_standard_module * Add tests * Fix quotes in whatsnew fragment * Update for astroid 2.15.0 * Recategorize news fragment
* Remove deprecated functions and classes (#8409)Daniël van Noord2023-03-091-24/+0
| | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Changing flake8 to have max-line-length of 115 (#8362)Ollie2023-03-022-2/+7
| | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Don't clear the FunctionalTestReporter.messages after each fileDaniel van Noord2023-02-201-3/+0
|
* Add `--color-palette` option to `pyreverse` (#8223)Andreas Finkler2023-02-091-0/+4
|
* Support Implicit Namespace Packages (PEP 420) (#8153)Alexey Pelykh2023-02-091-1/+8
| | | Co-authored-by: Andreas Finkler <3929834+DudeNr33@users.noreply.github.com>
* [primer --prepare clone] Create a function for each actionPierre Sassoulas2023-02-061-23/+25
|
* [primer --prepare clone] Better error message in case of crashPierre Sassoulas2023-02-061-3/+12
|
* Tighten design constraints (#8115)Nick Drozd2023-01-281-0/+1
| | | | | | | | | | | | | * Lower max locals * Lower max statements * Lower max try statements * Lower max branches * Lower max args * Cut design constraints with default values
* [style] Use default 'dummy-variable-rgx' and 'ignored-argument-names' (#8014)Pierre Sassoulas2023-01-021-2/+0
| | | | Refs #8013 Refs https://github.com/PyCQA/pylint/pull/7697#discussion_r1010869312
* [testutil] More information in output for functional test fail (#7948)Pierre Sassoulas2022-12-151-6/+12
| | | | | | | In order to help when the target interpreter is not installed locally and you can't update automatically yourself (pypy/old interpreters like python 3.7). Done for: Refs #7945
* [primer] Fall back to no rcfile rather than pylint's (#7798)Jacob Walls2022-11-191-5/+11
|
* Bump mypy from 0.982 to 0.990 (#7769)dependabot[bot]2022-11-141-1/+1
| | | Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
* Tag primer commit strings with python versionJacob Walls2022-11-121-3/+8
|
* Allow specifying minimum python version for primer packagesJacob Walls2022-11-092-0/+15
|
* [use-implicit-booleaness] Fix comparison to empty strings across the ↵Pierre Sassoulas2022-11-072-7/+6
| | | | | codebase (#7722) As it will become a default check in #6870 it will be easier to review it if we separate the two
* Make the order of introspected functional tests deterministic (#7602)kriek2022-10-241-1/+3
|
* Use stacklevel=2 in warnings.warn calls to DeprecationWarning where makes ↵Yilei "Dolee" Yang2022-09-153-0/+5
| | | | | | | | sense. (#7465) Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Turn on ``mypy`` strict mode 🎉 (#7448)Daniël van Noord2022-09-091-1/+1
| | | | | | | | | | * Ignore subclasses of Any * Add ignores for imported code and remove casts * Add disables for uninferable return values * Turn on ``mypy`` strict mode
* Use permanent links in the primer comment (#7332)Daniël van Noord2022-08-223-33/+64
|
* Fix ``mypy`` issues in primerDaniël van Noord2022-08-212-12/+14
|
* Use warningsDaniël van Noord2022-08-211-2/+5
|
* Fix up the message about ``astroid-error`` in the commentDaniël van Noord2022-08-211-4/+2
|
* Assert on fatal errors in primerDaniël van Noord2022-08-211-41/+22
|
* [testutil] Better assertion for configuration parsing failPierre Sassoulas2022-07-211-1/+1
|
* [primer] display results early instead of priming all the packages first (#7187)Pierre Sassoulas2022-07-151-38/+71
| | | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
* [primer] Fix a silent fail when no command were given (#7185)Pierre Sassoulas2022-07-141-3/+5
| | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
* [pythonpath context manager] Fix a bug where pythonpath was not restored ↵Pierre Sassoulas2022-07-131-4/+3
| | | | correctly
* [refactor] Move the context manager for pythonpath in pylint.testutilPierre Sassoulas2022-07-131-0/+20
|
* [testutils] Add a parameter to context manager changing sys.path or cwdPierre Sassoulas2022-07-111-2/+12
|
* [refactor] Move test context manager to pylint.testutilsPierre Sassoulas2022-07-111-1/+19
|