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

Refactor ruff into a base and package-specific #205

Merged
merged 2 commits into from
Feb 25, 2024
Merged

Conversation

taldcroft
Copy link
Member

@taldcroft taldcroft commented Feb 13, 2024

Description

This refactosr the ruff config into a base file which goes in skare3/templates and an extension to handle package-specific updates to the rules.

This uses the ruff-base.toml file in sot/skare3#1269 and provides a demonstration of per-project extensions in ruff.toml.

Interface impacts

None

Testing

Unit tests

No code changes.

Functional tests

ruff . and ruff format both succeed in the local repo.

@taldcroft taldcroft changed the title WIP refactor ruff into a base and package-specific Refactor ruff into a base and package-specific Feb 25, 2024
@taldcroft taldcroft merged commit 9441893 into master Feb 25, 2024
2 checks passed
@taldcroft taldcroft deleted the ruff-redux branch February 25, 2024 11:50
@taldcroft
Copy link
Member Author

I merged this without review since this doesn't impact code and mostly it's just me that cares about ruff.

This was referenced Mar 6, 2024
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.

1 participant