summaryrefslogtreecommitdiff
path: root/pylint/testutils/functional/test_file.py
Commit message (Collapse)AuthorAgeFilesLines
* Drop support for Python 3.7 (#8609)Marc Mueller2023-04-241-7/+1
| | | | | * Drop support for Python 3.7 * Update py-version + classifier * Update functional tests
* [PyCQA migration] Upgrade links to the repositories in code and doc (#8514)Pierre Sassoulas2023-03-291-2/+2
|
* Upgrade TODO for pylint 2.X to pylint 3.0 (#8480)Pierre Sassoulas2023-03-221-1/+1
| | | Closes #8335
* [testutil] Better assertion for configuration parsing failPierre Sassoulas2022-07-211-1/+1
|
* Bump or remove some ``TODOs`` (#7141)Daniël van Noord2022-07-071-1/+2
|
* Use the standard config parser instead a new one in functional tests (#6572)Daniël van Noord2022-05-111-0/+1
|
* Add ``--minimal-messages-config`` option for functional tests (#6246)Andreas Finkler2022-04-161-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add ``--minimal-messages-config`` option for functional tests * Add test file option to exclude from --minimal-messages-config run. * Fix ``too-many-branches`` false negative * Fix ``access-member-before-definition`` false negative * Fix ``consider-using-min-builtin`` and ``consider-using-max-builtin`` false negatives * Fix ``consider-using-with`` false negative * Exclude ``deprecated-module`` tests from ``--minimal-messages-config`` run. Have to find out how the list of deprecated modules is built first. * Update doc/whatsnew/2.14.rst * Ignore deprecated module false negatives * Fix ``deprecated-typing-alias`` false negative * Skip tests for ``fixme`` message, don't know yet how enable/disable affects TokenChecker/RawChecker * Exclude functional test for various logging checks, as the output string depends on what messages are enabled. * Fix false negative for ``nan-comparison`` * Fix false negative for ``non-ascii-module-import`` * Fix false negative for ``non-ascii-file-name`` * Skip tests for logging messages * Fix false negative for ``undefined-variable`` in ``metaclass`` argument * Exclude test for ``catching-non-exception``. ``exc._all_bases_known`` is ``False`` when enabling just this message. * Exclude ``ungrouped_imports_suppression``. ``useless-suppression`` is triggered too often in this case. * Fix false negative for ``use-a-generator`` * Exclude functional tests for ``useless-suppression`` from ``--minimal-messages-config`` * Exclude another deprecation check from ``--minimal-messages-config`` run * Update tests/testutils/data/m/minimal_messages_config.py Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Add some manual typing changes (#6325)Daniël van Noord2022-04-141-1/+1
| | | Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
* Use ``python-typing-update`` on ``pylint/testutils`` directoryDaniël van Noord2022-04-141-9/+11
|
* Add a pre-commit hook to check the copyright noticePierre Sassoulas2022-03-241-1/+1
| | | | | Fix the existing file so they have a notice. No header for setup.py or examples or doc
* Simplify hard to maintain copyright noticePierre Sassoulas2022-03-241-0/+1
| | | | | | git is the source of truth for the copyright, copyrite (the tool) was taking exponentially longer with each release, and it's polluting the code with sometime as much as 50 lines of names.
* Upgrade mypy to 0.940 (#5900)Daniël van Noord2022-03-121-1/+1
|
* Add typing to some functions in ``testutils`` (#5573)Daniël van Noord2021-12-211-2/+2
|
* Unify validation of functional test option files (#5510)Daniël van Noord2021-12-131-6/+7
|
* Add typing to LintModuleOutputUpdate._check_output_textPierre Sassoulas2021-12-031-13/+47
| | | | Better typing for test options and fix existing issue
* Deprecate some file in pylint/testutils and update changelogPierre Sassoulas2021-12-031-0/+75