Skip to content

Switch (some) linting to ruff #863

Closed Answered by frenck
akx asked this question in General
Jan 19, 2023 · 3 comments · 6 replies
Discussion options

You must be logged in to vote

So, some approaches:

Approach 1:

  1. Shadow run it, add it to the existing CI & pre-commit, and don't remove/change any existing things (which we can do by adjusting home-assistant/core#86224)
  2. Let's see how it holds up, in a month (or maybe 2):
  • Drop obsolete old tools from pre-commit autorun (manual only)
  • Add ruff vscode plugin to recommended/needed extensions for dev containers
  • Keep old tools still in CI
  1. Let's see how it holds up now, in a month (or maybe 2):
  • Drop old tools.

Approach 2:

  1. Shadow run it, add it to the existing CI & pre-commit, and don't remove/change any existing things (which we can do by adjusting home-assistant/core#86224)
  • Add ruff vscode plugin to recommended/nee…

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
2 replies
@scop
Comment options

scop Jan 20, 2023
Collaborator

@frenck
Comment options

Comment options

You must be logged in to vote
3 replies
@scop
Comment options

scop Jan 20, 2023
Collaborator

@akx
Comment options

@frenck
Comment options

Comment options

You must be logged in to vote
1 reply
@frenck
Comment options

Answer selected by frenck
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants