Skip to content

Conversation

@elbersb
Copy link
Collaborator

@elbersb elbersb commented Jan 13, 2026

  • Use ruff for linting and formatting
  • Use dependency groups instead of extra optional dependencies
  • Also decided to delete the Makefile - commands are much clearer now with uv and releasing should happen through GH actions anyway

Might be worth extending the rules, but then more needs to be fixed. e.g. uv run ruff check --select B (common bugs) shows 16 errors.

Copy link
Collaborator

@iampelle iampelle left a comment

Choose a reason for hiding this comment

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

I had a quick look, and it just reformatting and re-ordering imports, right? If so feel free to merge. We can change import style to import modules rather than constants/functions/classes and remove ./.. from imports in a separate PR.


from spotify_confidence.chartgrid import ChartGrid

from ..constants import NIM_TYPE
Copy link
Collaborator

Choose a reason for hiding this comment

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

Hmm, we probably shouldn't use . and .. in imports. As long as we have the right init files it should be possible to from spotify_confidence.analysis import constants.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yeah this one was also only reordered, we can change that in a follow-up PR

@elbersb elbersb merged commit d6dd40c into spotify:master Jan 13, 2026
4 checks passed
@elbersb elbersb deleted the ruff branch January 13, 2026 16:10
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