| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* Change default value to "mcs"
* Fix functional tests to use "mcs" for first MetaClass classmethod arg
|
|
|
|
|
|
|
| |
- 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>
|
|
|
| |
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
|
|
| |
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
|
|
|
|
|
| |
See https://github.com/PyCQA/pylint/issues/2409#issuecomment-1100952171
Closes #2409
|
|
|
|
| |
This occurred when invoking pylint with `enable=fixme`.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
| |
|
|
|
|
| |
Better typing for test options and fix existing issue
|
|
|
|
|
|
| |
* 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>
|
|
|
|
| |
Closes #4936
|
|
|
|
|
| |
We're only supporting python version > 3.6 so this became
useless configuration.
|
|
|
|
|
|
|
|
| |
* 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>
|
| |
|
|
|
|
|
| |
* 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
|
|
|
| |
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fix #2738
* doc updates
* add functional tests
* fix formattting
* fix formatting
|
| |
|
|
|
|
| |
Also fix some superfluous lines encountered along the way
|
| |
|
|
|
|
| |
Close #2410
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Close #3190
|
|
|
|
| |
Close #2540
|
|
|
|
| |
Or we get a "module does not exists".
|
|
e/example_functional_tests.py
Permit to navigate in the functional tests easier.
|