summaryrefslogtreecommitdiff
path: root/tests/testutils/test_functional_testutils.py
Commit message (Collapse)AuthorAgeFilesLines
* [PyCQA migration] Upgrade links to the repositories in code and doc (#8514)Pierre Sassoulas2023-03-291-2/+2
|
* [testutil] Do not count files with leading underscoresPierre Sassoulas2023-03-281-5/+4
|
* [testutil] Display recursive call for crowded functional test dirPierre Sassoulas2023-03-281-0/+16
|
* [testutil] Fix the algorithm for functional test discoveryPierre Sassoulas2023-03-281-3/+8
|
* [functional tests] Display all violations for disorganized directoriesPierre Sassoulas2023-03-281-1/+5
|
* [testutil] Add proper test for the functional tests helpersPierre Sassoulas2023-03-281-1/+1
|
* Add typing to several test files (#7440)Daniël van Noord2022-09-091-2/+2
|
* [typing] Add typing to the tests directory (#7183)Pierre Sassoulas2022-07-141-1/+1
|
* Check documentation examples for fatal errors (#6475)Jacob Walls2022-04-301-0/+1
|
* Prevent false negatives for fatal errors with `--minimal-messages-config`Jacob Walls2022-04-171-0/+3
|
* Add ``--minimal-messages-config`` option for functional tests (#6246)Andreas Finkler2022-04-161-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 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.
* Check functional test directory for correct structureDaniël van Noord2022-02-101-1/+10
|
* Create ``_config_initialization`` util and use in functional tests (#5591)Daniël van Noord2021-12-231-0/+21