Skip to content

feat: Switch to new linters#202

Open
henrikwidlund wants to merge 7 commits into
unfoldedcircle:mainfrom
henrikwidlund:feat/new_linters
Open

feat: Switch to new linters#202
henrikwidlund wants to merge 7 commits into
unfoldedcircle:mainfrom
henrikwidlund:feat/new_linters

Conversation

@henrikwidlund

@henrikwidlund henrikwidlund commented May 17, 2026

Copy link
Copy Markdown
Contributor

This is not meant to be merged, it's only meant to show what we'd end up with to see if we want it at all and which pieces we'd like to keep.

@henrikwidlund henrikwidlund changed the title Switch to ruff and pyright POC - Switch to ruff and pyright May 17, 2026
@henrikwidlund henrikwidlund marked this pull request as draft May 17, 2026 11:35

@zehnm zehnm left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

As we've been discussing on Discord, pylint is more and more an annoying distraction and not really helpful in finding actual issues.
Requiring two more tools for formatting and doc checking doesn't make it better...

What is the pyproject.toml exactly used for? Does it finally cover the configuration for all involved tools?

I'll take a deeper look this week, especially the integration in PyCharm where I've configured an auto-format on save action and multiple run configurations for the linters.

If we are going forward with changing the linters, the following files have to be updated as well:

  • Update docs/code_guidelines.md
  • Update PyCharm settings (.idea folder) and run configurations --> I can take over that part

@henrikwidlund

Copy link
Copy Markdown
Contributor Author

The changes in this pr is meant to replace the other tools we had. So we'd go from four to two. Maybe we can even use only one of them.

The project.toml is meant to let you define build, linting, metadata etc and not have that scattered all over. Short answer; hopefully? But it's python so...

I can fix the other two files now, then you can evaluate the complete thing

@henrikwidlund henrikwidlund changed the title POC - Switch to ruff and pyright feat: Switch to new linters Jun 2, 2026
@henrikwidlund henrikwidlund marked this pull request as ready for review June 2, 2026 21:03
# Conflicts:
#	intg-denonavr/denon_remote.py
#	intg-denonavr/denon_select.py
#	intg-denonavr/sensor.py
#	intg-denonavr/simplecommand.py
@zehnm zehnm self-requested a review June 5, 2026 07:28
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.

2 participants