thomluther/ha-anker-solix

Replace os module with pathlib module

thomluther opened this issue · 1 comments

System Health details

N/A

Integration version

2.1.0

Checklist

  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of any previous issues..

Describe the issue

The flake8-use-pathlib linter recommends to replace os module methods with more generic Path class and modules.

Reproduction steps

N/A

Debug logs

N/A

Diagnostics dump

No response

Change done in 2.1.2