Skip to content

Replace black, isort, autoflake, and flake8 with ruff#241

Merged
dhalperi merged 1 commit into
masterfrom
spr/master/bd803e60
Mar 23, 2026
Merged

Replace black, isort, autoflake, and flake8 with ruff#241
dhalperi merged 1 commit into
masterfrom
spr/master/bd803e60

Conversation

@dhalperi

@dhalperi dhalperi commented Mar 23, 2026

Copy link
Copy Markdown
Member

Consolidate four separate pre-commit linting/formatting tools into
ruff. Update .pre-commit-config.yaml, replace [dev] extras, add
[tool.ruff] config to pyproject.toml, and delete .flake8. Minor
formatting differences from ruff's formatter applied to 5 files.


Prompt:

What if anything should we do to modernize this package or
the github ci?

This change is Reviewable

@dhalperi dhalperi left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dhalperi reviewed 9 files and all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved.

Consolidate four separate pre-commit linting/formatting tools into
ruff. Update .pre-commit-config.yaml, replace [dev] extras, add
[tool.ruff] config to pyproject.toml, and delete .flake8. Minor
formatting differences from ruff's formatter applied to 5 files.

----

Prompt:
```
What if anything should we do to modernize this package or
the github ci?
```

commit-id:bd803e60
@dhalperi dhalperi force-pushed the spr/master/bd803e60 branch from 6084d71 to b17b97b Compare March 23, 2026 18:47

@dhalperi dhalperi left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dhalperi reviewed 1 file and all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved.

@dhalperi dhalperi merged commit 56f870c into master Mar 23, 2026
12 checks passed
@dhalperi dhalperi deleted the spr/master/bd803e60 branch March 23, 2026 18:47
manonfgoo pushed a commit to manonfgoo/netconan that referenced this pull request Mar 23, 2026
Consolidate four separate pre-commit linting/formatting tools into
ruff. Update .pre-commit-config.yaml, replace [dev] extras, add
[tool.ruff] config to pyproject.toml, and delete .flake8. Minor
formatting differences from ruff's formatter applied to 5 files.

----

Prompt:
```
What if anything should we do to modernize this package or
the github ci?
```

commit-id:bd803e60
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