Changelog
*Sourced from [pylint's changelog](https://github.com/PyCQA/pylint/blob/master/ChangeLog).*
> What's New in Pylint 2.4.0?
> ===========================
>
> Release date: 2019-09-24
>
> * New check: ``import-outside-toplevel``
>
> This check warns when modules are imported from places other than a
> module toplevel, e.g. inside a function or a class.
>
> * Handle inference ambiguity for ``invalid-format-index``
>
> Close [#2752](https://github-redirect.dependabot.com/PyCQA/pylint/issues/2752)
>
> * Removed Python 2 specific checks such as ``relative-import``,
> ``invalid-encoded-data``, ``missing-super-argument``.
>
> * Support forward references for ``function-redefined`` check.
>
> Close [#2540](https://github-redirect.dependabot.com/PyCQA/pylint/issues/2540)
>
> * Handle redefinitions in case of type checking imports.
>
> Close [#2834](https://github-redirect.dependabot.com/PyCQA/pylint/issues/2834)
>
> * Added a new check, ``consider-using-sys-exit``
>
> This check is emitted when we detect that a quit() or exit() is invoked
> instead of sys.exit(), which is the preferred way of exiting in program.
>
> Close [#2925](https://github-redirect.dependabot.com/PyCQA/pylint/issues/2925)
>
> * ``useless-suppression`` check now ignores ``cyclic-import`` suppressions,
> which could lead to false postiives due to incomplete context at the time
> of the check.
>
> Close [#3064](https://github-redirect.dependabot.com/PyCQA/pylint/issues/3064)
>
> * Added new checks, ``no-else-break`` and ``no-else-continue``
>
> These checks highlight unnecessary ``else`` and ``elif`` blocks after
> ``break`` and ``continue`` statements.
>
> Close [#2327](https://github-redirect.dependabot.com/PyCQA/pylint/issues/2327)
>
> * Don't emit ``protected-access`` when a single underscore prefixed attribute
> is used inside a special method
>
> Close [#1802](https://github-redirect.dependabot.com/PyCQA/pylint/issues/1802)
>
> ... (truncated)
Commits
- [`fce8bff`](https://github.com/PyCQA/pylint/commit/fce8bff8acc8dfa625529bde5c28691d94fad51e) Try again to do a release
- [`6775a00`](https://github.com/PyCQA/pylint/commit/6775a008486b6031ea36ff1ba4cf720a3edeb1d3) use a token for travis releases
- [`15209f6`](https://github.com/PyCQA/pylint/commit/15209f6642c8f9b2e1e100cdc8272d18f9363df6) Prepare release
- [`d9ed7d1`](https://github.com/PyCQA/pylint/commit/d9ed7d1db99d3b5ea84de4937997fae0dc22545f) Simplify and improve the logic of consider-iterating-dictionary
- [`d23a16e`](https://github.com/PyCQA/pylint/commit/d23a16e3cb454e6343bc3772c82dca172f3eb6a8) Add regression test for old-division and floats. Close [#3039](https://github-redirect.dependabot.com/PyCQA/pylint/issues/3039)
- [`3e1f61d`](https://github.com/PyCQA/pylint/commit/3e1f61d0df4ded6479c5b109d495b8a1cd2cde31) Squash multiple checks for special classes into a single function
- [`ab79ac0`](https://github.com/PyCQA/pylint/commit/ab79ac0b53658fff9474d601baac5d6b831e5e5e) Disable too-few-public-methods for data classes. Close [#3025](https://github-redirect.dependabot.com/PyCQA/pylint/issues/3025)
- [`7924325`](https://github.com/PyCQA/pylint/commit/79243257dc7e136dbfd6850e9285a01c909687bf) Document the new arguments for the private methods in docparams
- [`4b0395e`](https://github.com/PyCQA/pylint/commit/4b0395e32062ad2d50f617d778c1b755c7f066bd) Disable too-many-public-methods for humonguous class
- [`ce2af67`](https://github.com/PyCQA/pylint/commit/ce2af67d0e96e26c1999e1a53e36cf1460d9d647) Exempt kwonly arguments when they are annotated from missing-type-doc. Close ...
- Additional commits viewable in [compare view](https://github.com/PyCQA/pylint/compare/pylint-2.3.1...pylint-2.4.0)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Bumps pylint from 2.3.1 to 2.4.0.
Changelog
*Sourced from [pylint's changelog](https://github.com/PyCQA/pylint/blob/master/ChangeLog).* > What's New in Pylint 2.4.0? > =========================== > > Release date: 2019-09-24 > > * New check: ``import-outside-toplevel`` > > This check warns when modules are imported from places other than a > module toplevel, e.g. inside a function or a class. > > * Handle inference ambiguity for ``invalid-format-index`` > > Close [#2752](https://github-redirect.dependabot.com/PyCQA/pylint/issues/2752) > > * Removed Python 2 specific checks such as ``relative-import``, > ``invalid-encoded-data``, ``missing-super-argument``. > > * Support forward references for ``function-redefined`` check. > > Close [#2540](https://github-redirect.dependabot.com/PyCQA/pylint/issues/2540) > > * Handle redefinitions in case of type checking imports. > > Close [#2834](https://github-redirect.dependabot.com/PyCQA/pylint/issues/2834) > > * Added a new check, ``consider-using-sys-exit`` > > This check is emitted when we detect that a quit() or exit() is invoked > instead of sys.exit(), which is the preferred way of exiting in program. > > Close [#2925](https://github-redirect.dependabot.com/PyCQA/pylint/issues/2925) > > * ``useless-suppression`` check now ignores ``cyclic-import`` suppressions, > which could lead to false postiives due to incomplete context at the time > of the check. > > Close [#3064](https://github-redirect.dependabot.com/PyCQA/pylint/issues/3064) > > * Added new checks, ``no-else-break`` and ``no-else-continue`` > > These checks highlight unnecessary ``else`` and ``elif`` blocks after > ``break`` and ``continue`` statements. > > Close [#2327](https://github-redirect.dependabot.com/PyCQA/pylint/issues/2327) > > * Don't emit ``protected-access`` when a single underscore prefixed attribute > is used inside a special method > > Close [#1802](https://github-redirect.dependabot.com/PyCQA/pylint/issues/1802) > > ... (truncated)Commits
- [`fce8bff`](https://github.com/PyCQA/pylint/commit/fce8bff8acc8dfa625529bde5c28691d94fad51e) Try again to do a release - [`6775a00`](https://github.com/PyCQA/pylint/commit/6775a008486b6031ea36ff1ba4cf720a3edeb1d3) use a token for travis releases - [`15209f6`](https://github.com/PyCQA/pylint/commit/15209f6642c8f9b2e1e100cdc8272d18f9363df6) Prepare release - [`d9ed7d1`](https://github.com/PyCQA/pylint/commit/d9ed7d1db99d3b5ea84de4937997fae0dc22545f) Simplify and improve the logic of consider-iterating-dictionary - [`d23a16e`](https://github.com/PyCQA/pylint/commit/d23a16e3cb454e6343bc3772c82dca172f3eb6a8) Add regression test for old-division and floats. Close [#3039](https://github-redirect.dependabot.com/PyCQA/pylint/issues/3039) - [`3e1f61d`](https://github.com/PyCQA/pylint/commit/3e1f61d0df4ded6479c5b109d495b8a1cd2cde31) Squash multiple checks for special classes into a single function - [`ab79ac0`](https://github.com/PyCQA/pylint/commit/ab79ac0b53658fff9474d601baac5d6b831e5e5e) Disable too-few-public-methods for data classes. Close [#3025](https://github-redirect.dependabot.com/PyCQA/pylint/issues/3025) - [`7924325`](https://github.com/PyCQA/pylint/commit/79243257dc7e136dbfd6850e9285a01c909687bf) Document the new arguments for the private methods in docparams - [`4b0395e`](https://github.com/PyCQA/pylint/commit/4b0395e32062ad2d50f617d778c1b755c7f066bd) Disable too-many-public-methods for humonguous class - [`ce2af67`](https://github.com/PyCQA/pylint/commit/ce2af67d0e96e26c1999e1a53e36cf1460d9d647) Exempt kwonly arguments when they are annotated from missing-type-doc. Close ... - Additional commits viewable in [compare view](https://github.com/PyCQA/pylint/compare/pylint-2.3.1...pylint-2.4.0)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.