Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [PyCQA migration] Upgrade links to the repositories in code and doc (#8514) | Pierre Sassoulas | 2023-03-29 | 1 | -2/+2 |
| | |||||
* | [test] Removes 'test_pylint_config_attr' (#8468) | Pierre Sassoulas | 2023-03-20 | 1 | -23/+0 |
| | | | See fc0ed97, it's not relevant anymore. | ||||
* | Add typing to ``test_regr`` | Daniël van Noord | 2022-09-03 | 1 | -5/+5 |
| | |||||
* | Disable fixme for internal uses before we make it optional in #3512 (#6482) | Pierre Sassoulas | 2022-05-01 | 1 | -1/+0 |
| | |||||
* | [spelling] Remove remaining typoes detected by the spelling checker | Pierre Sassoulas | 2022-04-26 | 1 | -1/+1 |
| | |||||
* | Several ``argparse`` related refactors (#6337) | Daniël van Noord | 2022-04-15 | 1 | -1/+2 |
| | | | | | * Update TODOs * Deprecate ``option_groups`` | ||||
* | Use ``python-typing-update`` on half of the ``tests`` directory (#6317) | Daniël van Noord | 2022-04-14 | 1 | -4/+8 |
| | |||||
* | Set ``Namespace`` on ``config`` instead of ``namespace`` | Daniël van Noord | 2022-04-14 | 1 | -0/+3 |
| | |||||
* | Deprecate ``BaseChecker.config`` (#6278) | Daniël van Noord | 2022-04-12 | 1 | -3/+3 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Remove ``OptionsProviderMixIn`` from ``BaseChecker`` | Daniël van Noord | 2022-04-11 | 1 | -2/+1 |
| | |||||
* | Copy all ``OptionsProvideMixIn`` methods to ``ArgumentsProvider`` (#6257) | Daniël van Noord | 2022-04-11 | 1 | -1/+1 |
| | |||||
* | Copy all of ``OptionsManagerMixIn`` methods into ``_ArgumentsManager`` (#6214) | Daniël van Noord | 2022-04-07 | 1 | -1/+0 |
| | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Create ``_ArgumentsProvider`` | Daniël van Noord | 2022-04-06 | 1 | -0/+1 |
| | |||||
* | Change parent class order of ``PyLinter`` | Daniël van Noord | 2022-04-05 | 1 | -2/+2 |
| | |||||
* | Create an `Argument` class and allow convertion of optdict into them (#5584) | Daniël van Noord | 2022-03-29 | 1 | -0/+1 |
| | | | | | * Use config initialization of ``_ArgumentsManager`` * Allow ``BaseChecker`` to register on a ``_ArgumentsManager`` * Use the ``argparse`` config handler in ``logging.py`` and add tests | ||||
* | Add a pre-commit hook to check the copyright notice | Pierre Sassoulas | 2022-03-24 | 1 | -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 notice | Pierre Sassoulas | 2022-03-24 | 1 | -16/+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 tests | Sergey B Kirpichev | 2022-03-18 | 1 | -26/+4 |
| | |||||
* | Update ``pydocstringformatter`` to 0.4.0 (#5787) | Daniël van Noord | 2022-02-10 | 1 | -1/+1 |
| | |||||
* | Fix typos accross the whole codebase (#5575) | Pierre Sassoulas | 2021-12-21 | 1 | -2/+2 |
| | | | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com> | ||||
* | Bump pylint to 2.12.0, update changelogv2.12.0 | Pierre Sassoulas | 2021-11-25 | 1 | -0/+1 |
| | | | | Closes #5250 | ||||
* | Add casts to ``linter.reporter`` in tests | Daniël van Noord | 2021-11-16 | 1 | -1/+10 |
| | |||||
* | Fix deprecation 'check function will only accept sequence of string' (#5218) | Pierre Sassoulas | 2021-10-27 | 1 | -14/+18 |
| | | | | | * Fix deprecation 'check function will only accept sequence of string' * Add a test for Pylinter.check() deprecation | ||||
* | Merge ``MessagesHandlerMixIn`` into ``PyLinter`` (#5136) | Daniël van Noord | 2021-10-17 | 1 | -1/+0 |
| | | | * Merge ``MessagesHandlerMixIn`` into ``PyLinter`` | ||||
* | Refactor ``LinterStats`` (#5074) | Daniël van Noord | 2021-10-07 | 1 | -3/+3 |
| | | | | | | | | * Refactor ``self.stats`` on linter and checker This adds a new class ``LinterStats`` which is used to store all kinds of stats during a run of ``pylint``. Tests have been changed slightly to be able to use the new class. Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> | ||||
* | Remove ``pytest`` marks in test_regr (#5076) | Daniël van Noord | 2021-09-27 | 1 | -2/+0 |
| | |||||
* | Fix loop in too-many-ancestors when an inheritance cycle is inferred (#5062) | Andrew Haigh | 2021-09-24 | 1 | -0/+28 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add regression test for #4972 hang * Fix loop in too-many-ancestors when an inheritance cycle is inferred Ref #4972. If a class could be inferred as an ancestor of itself then the implementation of _get_parents could get caught in an infinite loop, forever adding itself to to_explore. This could be possible by monkeypatching an ancestor after class definition like in the following simplified example: class Fake(module.Cls): pass module.Cls = Fake Reproducing this is fairly tricky, but this integration test shows the behaviour as of 1e675abcc2aa931421d7ce300908e734a93fd790: #!/bin/sh HERE=$(readlink -f .) VENV=$HERE/venv-repro PIP=$VENV/bin/pip python -m venv "$VENV" PYLINT=$VENV/bin/pylint # assume running in pylint dir $PIP install -e . $PIP install flask mkdir -p repro/flask/ touch repro/__init__.py cat > repro/flask/__init__.py <<'EOF' import flask import repro.flask # self-import necessary class Fake(flask.Flask): pass flask.Flask = Fake EOF echo +++ this is fine $PYLINT --rcfile=/dev/null -- repro/flask/ echo +++ finished echo +++ this loops forever cd repro/; $PYLINT --rcfile=/dev/null -- flask/ echo +++ should not reach here | ||||
* | Bump pylint to 2.11.0, update changelogv2.11.0 | Pierre Sassoulas | 2021-09-16 | 1 | -0/+1 |
| | |||||
* | Add typing to ``filepath`` (#4980) | Daniël van Noord | 2021-09-16 | 1 | -18/+16 |
| | | | | | | | | | | * Change tests for ``filepath`` changes * Add pylint/typing.py and FileItem NamedTuple * Use NamedTuple more efficiently * Fix errors and tests after adding warning * Add deprecation for future API change in Checker Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Add typing to all calls to ``self.stats`` (#4973) | Daniël van Noord | 2021-09-15 | 1 | -3/+5 |
| | | | | | | | | | | | | | | | * Add typing to all calls to ``self.stats`` All checkers inherit from a baseclass which has a ``stats`` attribute. This attribute has a fairly unmanageable type, but the current typing includes all variations of the attribute. Other changes not directly related to ``self.stats`` are due to ``mypy``warnings. This incorporate the feedback received in #4954 * Add ``CheckerStatistic`` class to ``pylint/typing`` * Guard `typing.Counter` import Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> | ||||
* | Add typing with `PyAnnotate` to `./tests` (#4950) | Daniël van Noord | 2021-09-04 | 1 | -5/+7 |
| | | | | | | * Add mypy_extensions to requirement for ``NoReturn`` Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Bump pylint to 2.9.3, update changelogv2.9.3 | Pierre Sassoulas | 2021-07-01 | 1 | -0/+1 |
| | |||||
* | Fix copyright links (#4647) | Marc Mueller | 2021-07-01 | 1 | -1/+1 |
| | | | | * Fix link in license header * Update link to astroid bump_changelog | ||||
* | Rename copying to license and upgrade the setup.cfg (#4338) | Pierre Sassoulas | 2021-04-11 | 1 | -1/+1 |
| | |||||
* | Apply copyrite --contribution-threshold | Pierre Sassoulas | 2021-02-21 | 1 | -1/+2 |
| | |||||
* | Remove unused and bugged pypy_version_info | Pierre Sassoulas | 2021-02-07 | 1 | -5/+0 |
| | |||||
* | Fix PytestCollectionWarning: cannot collect test class TestReporter | Pierre Sassoulas | 2020-11-28 | 1 | -1/+1 |
| | |||||
* | Sets up copyright | hippo91 | 2020-08-20 | 1 | -1/+2 |
| | |||||
* | Switch to isort 5 for pylint's own code | Damien Baty | 2020-08-18 | 1 | -1/+1 |
| | |||||
* | Disable redefined-outer-name necessary by design with pytest | Pierre Sassoulas | 2020-05-01 | 1 | -0/+1 |
| | |||||
* | Add missing copyright annotations for the past releases | Claudiu Popa | 2020-04-27 | 1 | -1/+3 |
| | |||||
* | [lint package refactor] Create a file for pylinter | Pierre Sassoulas | 2020-04-26 | 1 | -1/+1 |
| | |||||
* | [tests lint] Fix all W0613 unused-argument in pylint's own tests | Pierre Sassoulas | 2020-04-20 | 1 | -2/+2 |
| | |||||
* | Stopped installing tests with package | Ashley Whetter | 2019-06-20 | 1 | -0/+137 |