flake8-ruff-wrapper
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
Using with pre-commit
See pre-commit for instructions
Sample .pre-commit-config.yaml
- repo: https://github.com/fsouza/flake8-ruff-wrapper
rev: v0.2.0
hooks:
- id: flake8-ruff
Metadata
Release files for flake8-ruff-wrapper 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| flake8_ruff_wrapper-0.4.0.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flake8_ruff_wrapper-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.7 kB
Release files / flake8_ruff_wrapper-0.4.0.tar.gz
| Download URL | flake8_ruff_wrapper-0.4.0.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
809b33ca711dcb26bf90715d9c518734cb2107b46432d1bfa734dc226786e9c7
|
|
BLAKE2b-256 checksum How to use checksums |
eccd4735061545d57168d4f1a04f69a96c27d5f5161755362d5ced93f282bc19
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / flake8_ruff_wrapper-0.4.0-py3-none-any.whl
| Download URL | flake8_ruff_wrapper-0.4.0-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fcf73738a2b24245ffc9d306e6b825c90023c2a6f390c61fecdc131c08cb0937
|
|
BLAKE2b-256 checksum How to use checksums |
904944093589c1a7a71997095aec93f7575732e5e25b312a3481d5203ead725d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|