Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move tests from ``TestParamDocChecker`` to functional tests (#5509) | Daniël van Noord | 2021-12-13 | 1 | -301/+0 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Move ``Numpy`` tests from ``TestParamDocChecker`` to functional tests (#5507) | Daniël van Noord | 2021-12-12 | 1 | -140/+0 |
| | |||||
* | Fix incorrect classification of property docstrings in Numpy-style (#5498) | Daniël van Noord | 2021-12-12 | 1 | -36/+0 |
| | |||||
* | Move some of the Numpy tests out of ``TestParamDocChecker`` (#5492) | Daniël van Noord | 2021-12-08 | 1 | -585/+0 |
| | |||||
* | Move tests for Google docstrings from ``TestParamDocChecker`` to functional ↵ | Daniël van Noord | 2021-12-07 | 1 | -809/+1 |
| | | | | | tests (#5484) Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Move Sphinx docstrings out of ``TestParamDocChecker`` (#5450) | Daniël van Noord | 2021-12-03 | 1 | -588/+0 |
| | |||||
* | Bump pylint to 2.12.0, update changelogv2.12.0 | Pierre Sassoulas | 2021-11-25 | 1 | -0/+2 |
| | | | | Closes #5250 | ||||
* | Fix ``accept-no-yields/return-doc`` for partially correct docstrings | Daniël van Noord | 2021-11-13 | 1 | -0/+7 |
| | |||||
* | Allow no type in Numpy param docstrings for ``mising-param-doc`` (#5231) | Daniël van Noord | 2021-10-31 | 1 | -2/+8 |
| | | | | | This closes #5222 See https://numpydoc.readthedocs.io/en/latest/format.html#parameters for reference | ||||
* | Fix asterisks parsing of ``mising-param-doc`` (#5175) | Daniël van Noord | 2021-10-18 | 1 | -11/+11 |
| | | | Closes #3733 | ||||
* | Improve documentation of ``docparams`` extension and fix tests (#5095) | Daniël van Noord | 2021-10-14 | 1 | -1/+83 |
| | | | This closes #4136 | ||||
* | Properly identify undocumented parameters and add new message called ↵ | Konstantina Saketou | 2021-10-10 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | | missing-any-param-doc (#5097) * Correctly identify parameters with no doc and add new message This commit fixes the problem where non documented parameters where not being identified properly. Also, it adds a new message called ``missing-any-param-doc`` for when a function has no parameter and type doc at all. Adds new test cases for the ``missing-param-doc`` and ``missing-type-doc`` messages and tests for the new message ``missing-any-param-doc``. * Replace old messages with the new one where needed Fix pylint's code where the new message where needed in other files instead of triggering both missing-param-doc and missing-type-doc. Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Fix empty regex options not converting to regex | Daniël van Noord | 2021-09-29 | 1 | -1/+3 |
| | |||||
* | Make test decorator use ``checker.set_option()`` | Daniël van Noord | 2021-09-29 | 1 | -2/+3 |
| | | | | | | This makes unittests with options mimick the normal option setting behaviour. It also adds ``set_config_directly()`` for those cases where this is not possible. | ||||
* | Rename ``pylint.testutils.TestMessage`` to ``MessageTest`` (#5051) | Daniël van Noord | 2021-09-20 | 1 | -95/+95 |
| | |||||
* | Rename `pylint.testutil.Message` to `pylint.testutil.TestMessage` (#5043) | Daniël van Noord | 2021-09-18 | 1 | -95/+121 |
| | | | * Rename `Message` to `TestMessage`` | ||||
* | Spelling and grammar fixes | Ville Skyttä | 2021-09-17 | 1 | -2/+2 |
| | |||||
* | Bump pylint to 2.11.0, update changelogv2.11.0 | Pierre Sassoulas | 2021-09-16 | 1 | -0/+1 |
| | |||||
* | Add typing with `PyAnnotate` to `./tests` (#4950) | Daniël van Noord | 2021-09-04 | 1 | -88/+90 |
| | | | | | | * Add mypy_extensions to requirement for ``NoReturn`` Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Refactor various typing related issues (#4940) | Daniël van Noord | 2021-09-03 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | * Add type annotations to ``visit`` & ``leave`` calls This adds typing to most calls that visit nodes. All other changes are due to mypy errors resulting from introduction of typing. * Fix outstanding mypy issues This removes some of the `type: ignore` comments in favour of solving the mypy issues these comments were surpressing. * Fix remaining references to node_classes Except for two references to node_classes in the changelog this should be the last of them Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Use alias for astroid.nodes 04 (#4869) | Marc Mueller | 2021-08-19 | 1 | -4/+3 |
| | | | | | | | | | * Use alias for astroid nodes 04 * Resolve name conflicts * Apply suggestions from code review 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 | ||||
* | Make a smarter check to avoid 'useless-type-doc' false positive | Pierre Sassoulas | 2021-06-25 | 1 | -3/+3 |
| | |||||
* | 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 | -2/+4 |
| | |||||
* | Move from format() to f-string where it makes sense | Pierre Sassoulas | 2021-02-16 | 1 | -24/+16 |
| | | | | As we do not maintain python 3.5 it permit to simplify some code | ||||
* | Enforce docparams consistently when docstring is not present (#3916) | Logan Miller | 2021-01-09 | 1 | -1/+39 |
| | | | | | | | | | | | | * fix #2738 * doc updates * add functional tests * fix formattting * fix formatting | ||||
* | adds `useless-param-doc` and `useless-type-doc` | Luigi | 2020-09-25 | 1 | -15/+30 |
| | |||||
* | Adds support to `ignored-argument-names` in DocstringParameterChecker | Luigi | 2020-09-18 | 1 | -0/+125 |
| | |||||
* | Update formatting following black and isort update | Pierre Sassoulas | 2020-09-10 | 1 | -2/+1 |
| | |||||
* | Sets up copyright | hippo91 | 2020-08-20 | 1 | -1/+1 |
| | |||||
* | Add missing copyright annotations for the past releases | Claudiu Popa | 2020-04-27 | 1 | -2/+4 |
| | |||||
* | Fix the broken tests: raises do not exist in Python | Pierre Sassoulas | 2020-04-20 | 1 | -2/+2 |
| | | | | Closes #3495 | ||||
* | [tests lint] Fix function redefinition in check_docs | Pierre Sassoulas | 2020-04-20 | 1 | -2/+2 |
| | | | | Permit to see the problem more clearly for bug #3495 | ||||
* | [tests lint] Disable all the too-many-public-methods warning | Pierre Sassoulas | 2020-04-20 | 1 | -0/+3 |
| | | | | Test classes do not need to be reused and do not need a great API. | ||||
* | [tests lint] Fix some E0102: method already defined in tests | Pierre Sassoulas | 2020-04-20 | 1 | -2/+2 |
| | | | | Some because the other tests were not working and fixing them is hard. | ||||
* | [tests lint] Fix all W0612 unused-variable in pylint's own tests | Pierre Sassoulas | 2020-04-20 | 1 | -2/+2 |
| | |||||
* | Exempt kwonly arguments when they are annotated from missing-type-doc. Close ↵ | Claudiu Popa | 2019-09-23 | 1 | -0/+18 |
| | | | | #3092 | ||||
* | Remove redundant compatibility code (#3097) | Hugo van Kemenade | 2019-09-12 | 1 | -5/+0 |
| | | | | We no longer support Python 2 so we can remove the compatibility code we had in place for that version. | ||||
* | [black style] Apply black style on unformatted python file | Pierre Sassoulas | 2019-07-22 | 1 | -526/+476 |
| | |||||
* | Stopped installing tests with package | Ashley Whetter | 2019-06-20 | 1 | -0/+2191 |