Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix pre-commit linter #209

Closed
wants to merge 0 commits into from

Conversation

dheavy
Copy link
Contributor

@dheavy dheavy commented Apr 1, 2024

Closes #208.

Problem

Ruff linting not linting what should be linted (software directory).

Solution

Add actual software directory to the list in the pre-commit ruff config.

Tested on

  • macOS
  • Windows
  • Ubuntu

Discussion

This PR, albeit necessary for smoother collaboration, generates a lot of diff in many files—the actual linting.
Therefore, it has been broken into two distinct commits. This will facilitate review (only the first commit is actually proceeding with fixing the pre-commit issue) and should help any regression investigation via git bisect, if ever needed.

Tests from the Tested on section also include actually running the CLI simulator to ensure there were no regression.

@dheavy dheavy closed this Apr 3, 2024
@dheavy dheavy force-pushed the fix/precommit-linter branch from a5a791f to 5d8757b Compare April 3, 2024 07:07
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.

Ruff linter not linting content from the "software" directory
1 participant