| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\ |
|
| |\ |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Add x-failing test for issue 7264 case 3
This is the case where a plugin can be imported only after the init-hook
is run, and the init hook is specified in a pylintrc file
We would expect the module to not load in any case, and cause the
emission of a bad-plugin-value message.
* _dynamic_plugins is a dict not a set
This is in preparation for caching the loaded modules, and for storing
other information that will help in identifying times loading is
dependent on init-hook magic.
* Use cached module objects for load_configuration
This fixes case 3 in #7264, and is technically a breaking change, in
that it now emits a message for what would have previously been a silent
failure.
* Interim review comment fixes
1. Remove the xfail that snuck back in after the rebases.
2. Now that fake_home yields a str, update the type hint.
* Add test for bad plugin with duplicated load
This is case 6 in issue #7264, and represents the other silent failure
that is being made non-silent by this change.
* Apply review feedback
- Add an ordering test for CLI arguments
- Add clarifying comments on affected functions
- Tidy up test assertions to be more pythonic
Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Fix and refactors for ``docparams`` extension
The ``re_only_desc`` regex did not match for white and characters after
``\n``, so some description-only lines weren't getting matched. In
addition, lookaheads were added to ``re_param_line`` (i.e. make sure the
type group is not followed by a new line (``\n``)). Lastly, named groups
(ala Perl regular expressions) were added for slightly improved clarity.
Co-authored-by: Hendry, Adam <adam.grant.hendry@gmail.com>
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Don't emit 'unused-variable' or 'unused-import' on names in string literal type annotations (#3299)
Don't treat strings inside typing.Literal as names
|
| | |
| | |
| | |
| | |
| | |
| | | |
Previously pylint would lint a file passed on stdin even if the user
meant to ignore the file. This commit fixes that issue.
Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
|
| | |
| | |
| | |
| | |
| | | |
assigned to a class attribute inside the class where the function is defined. (#7395)
Closes #6592
|
| | |
| | |
| | | |
Co-authored-by: orSolocate <38433858+orSolocate@users.noreply.github.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
guard
Close #7368
|
| | | |
|
| | | |
|
| | | |
|
|/ / |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Add x-failing test for issue 7264 case 3
This is the case where a plugin can be imported only after the init-hook
is run, and the init hook is specified in a pylintrc file
We would expect the module to not load in any case, and cause the
emission of a bad-plugin-value message.
* _dynamic_plugins is a dict not a set
This is in preparation for caching the loaded modules, and for storing
other information that will help in identifying times loading is
dependent on init-hook magic.
* Use cached module objects for load_configuration
This fixes case 3 in #7264, and is technically a breaking change, in
that it now emits a message for what would have previously been a silent
failure.
* Interim review comment fixes
1. Remove the xfail that snuck back in after the rebases.
2. Now that fake_home yields a str, update the type hint.
* Add test for bad plugin with duplicated load
This is case 6 in issue #7264, and represents the other silent failure
that is being made non-silent by this change.
* Apply review feedback
- Add an ordering test for CLI arguments
- Add clarifying comments on affected functions
- Tidy up test assertions to be more pythonic
Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
| | |
|
| |
| |
| | |
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
updates:
- [github.com/myint/autoflake: v1.5.1 → v1.5.3](https://github.com/myint/autoflake/compare/v1.5.1...v1.5.3)
- [github.com/psf/black: 22.6.0 → 22.8.0](https://github.com/psf/black/compare/22.6.0...22.8.0)
- [github.com/DanielNoord/pydocstringformatter: v0.7.1 → v0.7.2](https://github.com/DanielNoord/pydocstringformatter/compare/v0.7.1...v0.7.2)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Updates the requirements on [towncrier](https://github.com/hawkowl/towncrier) to permit the latest version.
- [Release notes](https://github.com/hawkowl/towncrier/releases)
- [Changelog](https://github.com/twisted/towncrier/blob/trunk/NEWS.rst)
- [Commits](https://github.com/hawkowl/towncrier/compare/21.9.0...22.8.0)
---
updated-dependencies:
- dependency-name: towncrier
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bumps [black](https://github.com/psf/black) from 22.6.0 to 22.8.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/22.6.0...22.8.0)
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Fix and refactors for ``docparams`` extension
The ``re_only_desc`` regex did not match for white and characters after
``\n``, so some description-only lines weren't getting matched. In
addition, lookaheads were added to ``re_param_line`` (i.e. make sure the
type group is not followed by a new line (``\n``)). Lastly, named groups
(ala Perl regular expressions) were added for slightly improved clarity.
Co-authored-by: Hendry, Adam <adam.grant.hendry@gmail.com>
|
| | |
|
| | |
|
| |
| |
| |
| | |
an inner function
|
| |
| |
| |
| | |
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
|
| |
| |
| |
| |
| | |
Don't emit 'unused-variable' or 'unused-import' on names in string literal type annotations (#3299)
Don't treat strings inside typing.Literal as names
|
| | |
|
| |
| |
| |
| | |
And update ``mypy`` configuration
|
| |
| |
| |
| |
| |
| | |
Previously pylint would lint a file passed on stdin even if the user
meant to ignore the file. This commit fixes that issue.
Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
assigned to a class attribute inside the class where the function is defined. (#7395)
Closes #6592
|
| |
| |
| | |
Co-authored-by: orSolocate <38433858+orSolocate@users.noreply.github.com>
|
| |
| |
| |
| |
| |
| | |
updates:
- [github.com/myint/autoflake: v1.4 → v1.5.1](https://github.com/myint/autoflake/compare/v1.4...v1.5.1)
- [github.com/DanielNoord/pydocstringformatter: v0.7.0 → v0.7.1](https://github.com/DanielNoord/pydocstringformatter/compare/v0.7.0...v0.7.1)
|
| | |
|