Skip to content

Conversation

@rolandwalker
Copy link
Contributor

Description

The tox lint check at the end of ci.yml doesn't seem to be showing lint errors.

Add a separate lint action, a ruff configuration, and ruff-format the codebase. The changes are all whitespace, if joining strings can be considered whitespace.

Passing "ruff check" would be more difficult.

Checklist

  • I've added this contribution to the changelog.md. there is already an entry about linting, which is sufficient.
  • I've added my name to the AUTHORS file (or it's already there).

The tox lint check at the end of ci.yml doesn't seem to be showing lint
errors.

Add a separate lint action, a ruff configuration, and ruff-format the
codebase.  The changes are all whitespace, if joining strings can be
considered whitespace.

Passing "ruff check" would be more difficult.
@rolandwalker rolandwalker self-assigned this Apr 22, 2025
@rolandwalker rolandwalker requested a review from amjith April 22, 2025 17:38
@amjith
Copy link
Member

amjith commented Apr 22, 2025

This is great. We should also look into adding a pre-commit integration to make sure we stay clean going forward. Litecli has a pre-commit config https://github.com/dbcli/litecli/blob/main/.pre-commit-config.yaml

@amjith amjith merged commit e1b70fe into main Apr 22, 2025
6 checks passed
@amjith amjith deleted the RW/ruff-format-lint-action branch April 22, 2025 19:49
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