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

Migrate from appdirs to platformdirs #4887

Conversation

Pierre-Sassoulas
Copy link
Member

@Pierre-Sassoulas Pierre-Sassoulas commented Aug 21, 2021

Type of Changes

Type
βœ“ πŸ”¨ Refactoring
βœ“ πŸ“œ Docs

Description

Black already did the migration, the import time also got faster see psf/black#2375. A worthy import time goal for astroid πŸ˜„

Closes #4886

@Pierre-Sassoulas Pierre-Sassoulas added Enhancement ✨ Improvement to a component Maintenance Discussion or action around maintaining pylint or the dev workflow labels Aug 21, 2021
@Pierre-Sassoulas Pierre-Sassoulas added this to the 2.10.2 milestone Aug 21, 2021
@Pierre-Sassoulas Pierre-Sassoulas changed the title Migrate from appdirs to platformdirs Migrate from appdirs to platformdirs Aug 21, 2021
@coveralls
Copy link

Pull Request Test Coverage Report for Build 1153126609

  • 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 92.729%

Totals Coverage Status
Change from base Build 1152868171: 0.0%
Covered Lines: 13454
Relevant Lines: 14509

πŸ’› - Coveralls

Copy link
Member

@cdce8p cdce8p left a comment

Choose a reason for hiding this comment

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

πŸ‘πŸ»

@Pierre-Sassoulas Pierre-Sassoulas merged commit ad97338 into pylint-dev:main Aug 21, 2021
@Pierre-Sassoulas Pierre-Sassoulas deleted the migrate-from-appdirs-to-platformdirs branch August 21, 2021 08:41
include_trailing_comma = True
skip_glob = tests/functional/**,tests/input/**,tests/extensions/data/**,tests/regrtest_data/**,tests/data/**,astroid/**,venv/**
src_paths = pylint

[mypy]
scripts_are_modules = True

[mypy-appdirs]
[mypy-platformdirs]
Copy link
Contributor

Choose a reason for hiding this comment

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

@Pierre-Sassoulas FYI, you should be able to remove this, since another benefit of platformdirs is it is fully statically typed.

Copy link
Member

Choose a reason for hiding this comment

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

@CAM-Gerlach Thanks for the heads up! We can indeed remove it (#4889), although we need to bump the required version first (#4890).

@cdce8p cdce8p mentioned this pull request Aug 21, 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 Maintenance Discussion or action around maintaining pylint or the dev workflow
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate from appdirs to platformdirs
4 participants