This is a package that allows you to use ruff as a replacement to flake8 without migrating your configuration to pyproject.toml and keeping the config format
It actually depends on flake8 and ruff and simply bridges the two tools.
Usage:
% cat .flake8
[flake8]
ignore = E203,W503
max-line-length = 88
% flake8-ruff some_file.py
# invokes ruff with configuration that matches the settings defined in .flake8
See pre-commit for instructions
Sample .pre-commit-config.yaml
- repo: https://github.com/fsouza/flake8-ruff-wrapper
rev: v0.4.0
hooks:
- id: flake8-ruff