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

Move deprecated module checker to DeprecatedMixin #4225

Merged
merged 6 commits into from
Mar 17, 2021

Conversation

matusvalo
Copy link
Collaborator

Steps

  • Add yourself to CONTRIBUTORS if you are a new contributor.
  • Add a ChangeLog entry describing what your PR does.
  • Write a good description on what the PR does.

Description

This PR logic of checking the use of deprecated modules to DeprecatedMixin class.
Hence, it can be easilly reused this way.

Type of Changes

Type
🔨 Refactoring

Related Issue

Closes #4086

@coveralls
Copy link

coveralls commented Mar 10, 2021

Coverage Status

Coverage increased (+0.03%) to 91.434% when pulling da2171f on matusvalo:deprecated_module into f94b6d5 on PyCQA:master.

@matusvalo matusvalo force-pushed the deprecated_module branch 2 times, most recently from c70f9b7 to cfc282b Compare March 10, 2021 14:55
@matusvalo matusvalo force-pushed the deprecated_module branch 2 times, most recently from 3eeb666 to 0873f28 Compare March 11, 2021 12:34
@matusvalo matusvalo changed the title Move deprecated checker to DeprecatedMixin Move deprecated module checker to DeprecatedMixin Mar 11, 2021
@Pierre-Sassoulas Pierre-Sassoulas added Enhancement ✨ Improvement to a component Needs review 🔍 Needs to be reviewed by one or multiple more persons labels Mar 14, 2021
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.

Thank you for this MR ! Sorry for the long review time.

@Pierre-Sassoulas Pierre-Sassoulas added this to the 2.8.0 milestone Mar 17, 2021
@Pierre-Sassoulas Pierre-Sassoulas removed the Needs review 🔍 Needs to be reviewed by one or multiple more persons label Mar 17, 2021
ChangeLog Outdated Show resolved Hide resolved
@cdce8p
Copy link
Member

cdce8p commented Mar 17, 2021

@Pierre-Sassoulas You need to add an empty line after Closes in the ChangeLog to make the pre-commit check happy.

ChangeLog Outdated Show resolved Hide resolved
@Pierre-Sassoulas
Copy link
Member

I swear I need a github feature to apply pre-commit auto-fix on a pull request 😄

@cdce8p
Copy link
Member

cdce8p commented Mar 17, 2021

😄 Seems like there are some trailing whitespaces now

ChangeLog Outdated Show resolved Hide resolved
@Pierre-Sassoulas Pierre-Sassoulas merged commit cdfc837 into pylint-dev:master Mar 17, 2021
@Pierre-Sassoulas
Copy link
Member

Thank you for your help @cdce8p a 5th edit would have been embarrassing, you know ? 😄

@matusvalo matusvalo deleted the deprecated_module branch March 19, 2021 09:09
@Pierre-Sassoulas Pierre-Sassoulas removed this from the 2.9.0 milestone May 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement ✨ Improvement to a component
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make module deprecation checks reusable to plugins
4 participants