Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove assign-to-new-keyword #6421

Merged
merged 2 commits into from
Apr 21, 2022
Merged

Remove assign-to-new-keyword #6421

merged 2 commits into from
Apr 21, 2022

Conversation

DanielNoord
Copy link
Collaborator

  • Add a ChangeLog entry describing what your PR does.
  • If it's a new feature, or an important bug fix, add a What's New entry in
    doc/whatsnew/<current release.rst>.
  • Write a good description on what the PR does.
  • If you used multiple emails or multiple names when contributing, add your mails
    and preferred name in script/.contributors_aliases.json

Type of Changes

Type
🔨 Refactoring

Description

Closes #4683

Ref. coverage drop in #5921

@DanielNoord DanielNoord added this to the 2.14.0 milestone Apr 21, 2022
@DanielNoord DanielNoord added the Maintenance Discussion or action around maintaining pylint or the dev workflow label Apr 21, 2022
Copy link
Member

@Pierre-Sassoulas Pierre-Sassoulas left a comment

Choose a reason for hiding this comment

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

I don't know about this one, theoretically we could have new keywords in the future, so this is useless right now but it could become useful again. What about adding pragmas no cover ?

@DanielNoord
Copy link
Collaborator Author

I don't know about this one, theoretically we could have new keywords in the future, so this is useless right now but it could become useful again. What about adding pragmas no cover ?

#5921 (comment)

😄

I'm not sure. It's trivial to re-add this later on and I don't think new keywords are likely to be added as the language matures. I'd say remove for now. With DeletedMessage we make sure to save the message id if we want to re-add it later on.

Copy link
Member

@Pierre-Sassoulas Pierre-Sassoulas left a comment

Choose a reason for hiding this comment

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

Alright, if past me said so.. 😄

But yeah it's very unlikely that new keyword are introduced now (they reused from for raise Exception() from e instead of creating a new one. Let's merge !

@DanielNoord DanielNoord merged commit 4668f63 into pylint-dev:main Apr 21, 2022
@DanielNoord DanielNoord deleted the 3.7 branch April 21, 2022 09:17
@douardda
Copy link
Contributor

It's been quite a while, but out of curiosity, how did @SoftwareHeritage swh-core get included as a sumodule here? (I randomly fell on this by finding a relation between pylint and swh-core in our big graph I was not expecting at all :-) )

@DanielNoord
Copy link
Collaborator Author

I think I was debugging an issue somebody reported with that module and forget to clean my tree when switching to this branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Maintenance Discussion or action around maintaining pylint or the dev workflow
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cleanup after we drop support for Python 3.6
3 participants