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

Apply ruff check rules, add pre-commit configuration #45

Merged
merged 7 commits into from
Feb 2, 2025

Conversation

mwtoews
Copy link
Collaborator

@mwtoews mwtoews commented Feb 2, 2025

This applies several ruff check rules like isort, pyupgrade, pyflakes, pycodestyle. It also rewrites a few os.system calls using subprocess.run with pathlib.

A pre-commit configuration is also added, hopefully for convenience. A pre-commit.ci job is added here too.

@mwtoews mwtoews merged commit 4aaf5ae into pypest:develop Feb 2, 2025
14 checks passed
@mwtoews mwtoews deleted the ruff-check branch February 2, 2025 21:23
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