summaryrefslogtreecommitdiff
path: root/tests/checkers/unittest_refactoring.py
Commit message (Collapse)AuthorAgeFilesLines
* [PyCQA migration] Upgrade links to the repositories in code and doc (#8514)Pierre Sassoulas2023-03-291-2/+2
|
* Use an empty pylintrc for tests using project's pylintrc implicitelyPierre Sassoulas2022-04-261-2/+6
| | | | | | | | | | We don't want to use the project's pylintrc during tests, because it means that a change in our config could break tests. But we want to see if the changes to the default break tests. Create a private '_Run' class in pylint.testutil._run Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
* increase timeout value for test_issue_5724 (#6241)Moody2022-04-091-1/+1
|
* 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.
* Use pytest-timeout for testsSergey B Kirpichev2022-03-181-30/+14
|
* Optimize handling of long lines for checkers like 'missing-final-newline' ↵Sergey B Kirpichev2022-03-161-0/+15
| | | | | | | | | | | | | | (#5925) * Fix parsing of long lines when ``missing-final-newline`` is enabled * Adapt fa31b6b6 to be backward-compatible Fixes #5724 Also address comments from the PR PyCQA/pylint#5786 Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Fix crash on properties & inherited methods in ``implicit-booleaness`` (#5652)Daniël van Noord2022-01-131-44/+0
|
* Fixed extremely long processing of long lines with comma's (#5534)Daniël van Noord2021-12-171-0/+30
| | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Rename `len-as-condition` to `use-implicit-booleaness-not-len` (#5132)Jaehoon Hwang2021-10-101-5/+5
| | | | | | | | | | Rename `len-as-condition` to be more general for new checker `use-implicit-booleaness-not-comparison` * Refactor `LenChecker` class -> `ImplicitBooleanessChecker`o * Rename test files/`len_checker.py`/`__init__.py` to reflect new name. * Add `len-as-condition` as `old_names` for `use-implicit-booleaness-not-len` Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Add typing with `PyAnnotate` to `./tests` (#4950)Daniël van Noord2021-09-041-1/+1
| | | | | | * Add mypy_extensions to requirement for ``NoReturn`` Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Fix copyright links (#4647)Marc Mueller2021-07-011-1/+1
| | | | * Fix link in license header * Update link to astroid bump_changelog
* Rename copying to license and upgrade the setup.cfg (#4338)Pierre Sassoulas2021-04-111-1/+1
|
* Remove the # coding, since PEP3120 the default is UTF8Pierre Sassoulas2021-02-211-2/+0
|
* Add new function to recover all base class of a NodePierre Sassoulas2020-12-311-0/+50