Skip to content

Conversation

@ketiltrout
Copy link
Member

This updates the code for changes to black and ruff. It's almost entirely getting rid of the old "%s%d" % (var1, var2)" formatting style.

However, to simplify things, I've introduced a tabulate dependency to take care of rendering the results table in finder, instead of the Finder doing the tabulation manually.

And, just to make sure I hadn't introduced a bug, I went through the worked example in the docstring and updated it for the tabulate-generated tables.

Both ruff and black typically change their
linting rules at the start of the year.
Even without using `tabulate`, it had fallen behind what
actually happened.
@ketiltrout ketiltrout merged commit 2f5556f into master Jan 31, 2025
5 checks passed
@ketiltrout ketiltrout deleted the linting_fixes branch January 31, 2025 18: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.

3 participants