Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 17, 2021

Bumps pylint from 2.9.6 to 2.11.1.

Changelog

Sourced from pylint's changelog.

What's New in Pylint 2.11.1?

Release date: 2021-09-16

.. Put bug fixes that should not wait for a new minor version here

  • unspecified-encoding now checks the encoding of pathlib.Path() correctly

    Closes #5017

What's New in Pylint 2.11.0?

Release date: 2021-09-16

  • The python3 porting mode checker and it's py3k option were removed. You can still find it in older pylint versions.

  • raising-bad-type is now properly emitted when raising a string

  • Added new extension SetMembershipChecker with use-set-for-membership check: Emitted when using an in-place defined list or tuple to do a membership test. sets are better optimized for that.

    Closes #4776

  • Added py-version config key (if [MASTER] section). Used for version dependant checks. Will default to whatever Python version pylint is executed with.

  • CodeStyleChecker

    • Added consider-using-assignment-expr: Emitted when an assignment is directly followed by an if statement and both can be combined by using an assignment expression :=. Requires Python 3.8

      Closes #4862

  • Added consider-using-f-string: Emitted when .format() or '%' is being used to format a string.

    Closes #3592

  • Fix false positive for consider-using-with if a context manager is assigned to a variable in different paths of control flow (e. g. if-else clause).

    Closes #4751

  • https is now prefered in the documentation and http://pylint.pycqa.org correctly redirect to https://pylint.pycqa.org

    Closes #3802

... (truncated)

Commits
  • d98e6e8 Bump pylint to 2.11.1, update changelog
  • 6d07d6f Add typing for json_reporter and sub-classes
  • f45ab49 Fix unspecified-encoding for Path()
  • 67957e2 Move back to a dev version following 2.11.0 release
  • 7add5d0 Bump pylint to 2.11.0, update changelog
  • 0d246e5 Add typing to filepath (#4980)
  • dc0c7e9 Add typing in pylint.reporters (#5004)
  • 14f4db5 Move methods to BaseLayout (#5015)
  • d4e61b9 Move PyreverseConfig to pylint.testutil (#5013)
  • 22e56c0 Add typing to all calls to self.stats (#4973)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 dependabot bot requested a review from a team as a code owner September 17, 2021 02:10
@dependabot dependabot bot requested a review from karajan1001 September 17, 2021 02:10
@dependabot dependabot bot force-pushed the dependabot/pip/pylint-2.11.1 branch from c0cc2de to 2a22aa3 Compare October 4, 2021 04:33
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 8, 2021

Looks like pylint is no longer a dependency, so this is no longer needed.

@dependabot dependabot bot closed this Oct 8, 2021
@dependabot dependabot bot deleted the dependabot/pip/pylint-2.11.1 branch October 8, 2021 01:16
@skshetry
Copy link
Collaborator

skshetry commented Oct 8, 2021

@dependabot reopen

@dependabot dependabot bot reopened this Oct 8, 2021
@dependabot dependabot bot restored the dependabot/pip/pylint-2.11.1 branch October 8, 2021 09:05
@dependabot dependabot bot force-pushed the dependabot/pip/pylint-2.11.1 branch 3 times, most recently from c6ca56c to 0e4a0f6 Compare October 12, 2021 15:01
@dependabot dependabot bot force-pushed the dependabot/pip/pylint-2.11.1 branch from 0e4a0f6 to ebdc168 Compare October 18, 2021 14:06
@karajan1001
Copy link
Contributor

@Mergifyio rebase

dependabot bot and others added 2 commits October 19, 2021 10:03
Bumps [pylint](https://github.com/PyCQA/pylint) from 2.9.6 to 2.11.1.
- [Release notes](https://github.com/PyCQA/pylint/releases)
- [Changelog](https://github.com/PyCQA/pylint/blob/main/ChangeLog)
- [Commits](pylint-dev/pylint@v2.9.6...v2.11.1)

---
updated-dependencies:
- dependency-name: pylint
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@mergify
Copy link
Contributor

mergify bot commented Oct 19, 2021

rebase

✅ Branch has been successfully rebased

@skshetry skshetry force-pushed the dependabot/pip/pylint-2.11.1 branch from 46b74e6 to 16c0c43 Compare October 19, 2021 10:03
@karajan1001 karajan1001 requested a review from skshetry October 19, 2021 10:26
@skshetry
Copy link
Collaborator

@karajan1001, for some of the files, we may want to use locale encoding instead of utf-8.

config, backend = self.get_config_and_backend(name)
if "startup_script" in config:
with open(config["startup_script"]) as fobj:
with open(config["startup_script"], encoding="utf-8") as fobj:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably use locale encoding here.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UTF-8 is correct, any of these TPI configuration fields (including the startup script) are expected to be UTF-8 text, this is consistent with terraform configuration in general

@karajan1001 karajan1001 merged commit 4646208 into master Oct 20, 2021
@karajan1001 karajan1001 deleted the dependabot/pip/pylint-2.11.1 branch October 20, 2021 02:32
@efiop
Copy link
Contributor

efiop commented Oct 20, 2021

@karajan1001 What about #6636 (comment) , btw?

Sorry for not using "Request changes" and introducing confusion.

@karajan1001 karajan1001 restored the dependabot/pip/pylint-2.11.1 branch October 20, 2021 09:40
karajan1001 added a commit that referenced this pull request Oct 20, 2021
efiop pushed a commit that referenced this pull request Oct 20, 2021
@karajan1001 karajan1001 mentioned this pull request Oct 20, 2021
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants