Skip to content

Removes flake8, uses ruff for linter check#3313

Merged
thewhaleking merged 11 commits intostagingfrom
feat/thewhaleking/use-ruff-linter
Apr 14, 2026
Merged

Removes flake8, uses ruff for linter check#3313
thewhaleking merged 11 commits intostagingfrom
feat/thewhaleking/use-ruff-linter

Conversation

@thewhaleking
Copy link
Copy Markdown
Contributor

@thewhaleking thewhaleking commented Apr 14, 2026

Uses ruff (which we already use) instead of flake8 for the linter

Also fixes items which fail the linter check

@thewhaleking thewhaleking linked an issue Apr 14, 2026 that may be closed by this pull request
@thewhaleking thewhaleking requested a review from a team April 14, 2026 10:51
Copy link
Copy Markdown
Collaborator

@basfroman basfroman left a comment

Choose a reason for hiding this comment

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

  • Makefile has to be updated
  • .flake8 file has to be deleted
  • .github/workflows/flake8-and-mypy.yml has to be renamed
  • it would be nice to extend pyproject.toml with [tool.ruff.lint] with rules
  • pruning_score with # noqa could be removed (requires updating MockSubtensor)

@thewhaleking thewhaleking requested a review from basfroman April 14, 2026 17:00
@thewhaleking thewhaleking merged commit cd785e5 into staging Apr 14, 2026
674 checks passed
@thewhaleking thewhaleking deleted the feat/thewhaleking/use-ruff-linter branch April 14, 2026 19:50
@thewhaleking thewhaleking restored the feat/thewhaleking/use-ruff-linter branch April 14, 2026 19:55
@thewhaleking thewhaleking deleted the feat/thewhaleking/use-ruff-linter branch April 14, 2026 19:57
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.

Change flake8 to ruff

2 participants