Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

Conversation

akx
Copy link

@akx akx commented Sep 29, 2023

I noticed there was an utterly unused flake8 configuration in this repo (apparently gotten orphaned in e97f8cc) and there had been some issues a linter could have possibly caught in #1433 (see dc0a579).

This gets rid of the abandoned flake8 configuration in favor of ruff and wires it up to be runnable via pre-commit and automagically in GitHub Actions.

It also applies the ruff --fix autofixes in the third commit.

I'd recommend enabling more (and stricter) Ruff rules in the future, this only has a very bare skeleton set.

@akx
Copy link
Author

akx commented Nov 14, 2023

Well, this was done in #1557 (duplicate work could've probably been avoided if someone had taken a look at open PRs back then).

@akx akx closed this Nov 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants