summaryrefslogtreecommitdiff
path: root/tests/functional/f
Commit message (Collapse)AuthorAgeFilesLines
* Fix `valid-metaclass-classmethod-first-arg` default value (#7791)Cubicpath2022-11-192-3/+3
| | | | | * Change default value to "mcs" * Fix functional tests to use "mcs" for first MetaClass classmethod arg
* Remove Python 2 code from the tests & refactor (#7320)Mark Byrne2022-08-185-18/+15
| | | | | | | - Refactor Classes which inherit from `object`. - Remove `import print_function from __future__`. - Remove assignments to `__revision__` from the functional test module when it is never used throughout the module. Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Fix disabling of ``fixme`` (#7144)Daniël van Noord2022-07-072-3/+12
| | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Move no-self-use to optional extension (#6448)Marc Mueller2022-05-051-1/+1
| | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Remove the 'no-init' message tat was not emitted anywayPierre Sassoulas2022-04-181-1/+1
| | | | | | See https://github.com/PyCQA/pylint/issues/2409#issuecomment-1100952171 Closes #2409
* Fix a failure to respect inline disables for `fixme` (#6362)Jacob Walls2022-04-181-3/+0
| | | | This occurred when invoking pylint with `enable=fixme`.
* 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>
* Use ``node.position`` in ``add_message`` if available (#5897)Daniël van Noord2022-03-122-11/+11
|
* Add typing to LintModuleOutputUpdate._check_output_textPierre Sassoulas2021-12-031-1/+3
| | | | Better typing for test options and fix existing issue
* Update functional test expected output (#5349)Daniël van Noord2021-11-249-36/+36
| | | | | | * Add ``confidence`` to all expected functional test outputs * Make OutputLine accept end_line and end_column Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Fix false positive for `function-redefined` for simple type annotationsDaniël van Noord2021-08-312-7/+15
| | | | Closes #4936
* Remove functional test configuration for python version <=3.6.0Pierre Sassoulas2021-08-303-4/+0
| | | | | We're only supporting python version > 3.6 so this became useless configuration.
* Add ``forgotten-debug-statement`` checker (#4771)Daniël van Noord2021-07-293-0/+16
| | | | | | | | * Add ``no-breakpoint`` checker this adds a checker for calls to ``breakpoint()``, ``pdb.set_trace()``, or ``sys.breakpointhook()``. Closes #3692 Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Move remaining extension fixturesMarc Mueller2021-06-103-23/+0
|
* Enable loading of plugins in functional tests (Fix 4331) (#4332)DudeNr332021-04-092-2/+6
| | | | | * Load plugins if defined in option file of functional test. * Fix functional test which now fails after optional plugins are now loaded correctly * Added functional test for bad_builtins from #4291
* Fix column index of FIXME warnings (#4246)Konstantina Saketou2021-03-252-9/+9
| | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Cleanup unwanted 'use-symbolic-message-instead' in functional testsPierre Sassoulas2021-03-173-3/+2
|
* Enable use-symbolic-message-instead in functional testsPierre Sassoulas2021-03-173-3/+4
|
* Migrate func_first_arg.py to new functional testsPierre Sassoulas2021-03-142-0/+51
|
* Add column to the information checked for functional testsPierre Sassoulas2021-01-247-23/+23
|
* Enforce docparams consistently when docstring is not present (#3916)Logan Miller2021-01-092-0/+19
| | | | | | | | | | | | * fix #2738 * doc updates * add functional tests * fix formattting * fix formatting
* Move func_disable_linebased to new functional testsPierre Sassoulas2021-01-012-0/+17
|
* Remove all empty txt file in functional testsPierre Sassoulas2020-11-292-0/+0
| | | | Also fix some superfluous lines encountered along the way
* Fix trailing whitespaces and trailing newlinesPierre Sassoulas2020-05-034-4/+4
|
* `function-redefined`` exempts function redefined on a condition.Claudiu Popa2020-02-281-0/+11
| | | | Close #2410
* Add notes-rgx option for fixme checker (#3394)Benny2020-02-133-1/+16
| | | | | | | This commit adds a new `notes-rgx` which is used by the "fixme" check for more granular control over the what fixme messages to emit. Co-authored-by: Claudiu Popa <pcmanticore@gmail.com>
* A new check ``f-string-without-interpolation`` was addedClaudiu Popa2019-10-163-0/+12
| | | | Close #3190
* Support forward references for ``function-redefined`` check.Claudiu Popa2019-09-152-0/+11
| | | | Close #2540
* [functional tests] Module needs an __init__.pyPierre Sassoulas2019-09-101-0/+0
| | | | Or we get a "module does not exists".
* [functional tests] Rename example_functional_tests.py => ↵Pierre Sassoulas2019-09-1019-0/+195
e/example_functional_tests.py Permit to navigate in the functional tests easier.