summaryrefslogtreecommitdiff
path: root/tests/functional/u/using_constant_test.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove Python 2 code from the tests & refactor (#7320)Mark Byrne2022-08-181-2/+2
| | | | | | | - 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>
* Emit `using-constant-test` when testing truth value of a variable holding a ↵Jacob Walls2022-06-121-0/+13
| | | | generator (#6916)
* Emit `using-constant-test` when testing truth value of a call returning a ↵Jacob Walls2022-06-111-0/+16
| | | | | generator (#6911) Update confidence level to INFERENCE for `using-constant-test` and `missing-parentheses-for-call-in-test`
* Add `comparison-of-constants` checker (#6413)omarandlorraine2022-05-041-1/+1
| | | | | Co-authored-by: Sam M W <smw@alertergroup.co.uk> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.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
* Move functional test files to new structureDaniël van Noord2022-02-101-0/+149
|
* Create subdirectory for crowded functional testsPierre Sassoulas2021-03-071-141/+0
|
* Remove unsecable whitespace in the whole codebasePierre Sassoulas2020-09-121-1/+1
|
* Add simplifiable-condition and condition-evals-to-constant to the ↵ethan-leba2020-08-311-2/+1
| | | | refactoring checker
* [functional tests] Rename example_functional_tests.py => ↵Pierre Sassoulas2019-09-101-0/+142
e/example_functional_tests.py Permit to navigate in the functional tests easier.