Convert existing Flake8 configuration to Ruff.
Project description
flake8-to-ruff
Convert existing Flake8 configuration files (setup.cfg, tox.ini, or .flake8) for use with
Ruff.
Generates a Ruff-compatible pyproject.toml section.
Installation and Usage
Installation
Available as flake8-to-ruff on PyPI:
pip install flake8-to-ruff
Usage
To run Ruff, try any of the following:
flake8-to-ruff path/to/setup.cfg
flake8-to-ruff path/to/tox.ini
flake8-to-ruff path/to/.flake8
Limitations
- Ruff only supports a subset of the Flake configuration options.
flake8-to-ruffwill warn on and ignore unsupported options in the.flake8file (or equivalent). (Similarly, Ruff has a few configuration options that don't exist in Flake8.) - Ruff will omit any error codes that are unimplemented or unsupported by Ruff, including error codes from unsupported plugins. (See the Ruff README for the complete list of supported plugins.)
flake8-to-ruffdoes not auto-detect your Flake8 plugins, so any reliance on Flake8 plugins that implicitly enable third-party checks will be ignored. Instead, add those error codes to yourselectorextend-selectfields, so thatflake8-to-ruffcan pick them up.
License
MIT
Contributing
Contributions are welcome and hugely appreciated. To get started, check out the contributing guidelines.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file flake8_to_ruff-0.0.94_dev.1.tar.gz.
File metadata
- Download URL: flake8_to_ruff-0.0.94_dev.1.tar.gz
- Upload date:
- Size: 222.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06ed9d789131bd98b8d616d830e341b714aff8d22beb8177c22bc0dee58a4659
|
|
| MD5 |
d1941a369552b6098b4908740349d4eb
|
|
| BLAKE2b-256 |
07593b70f652697de70b17cc8560355328e27c0456b121add044bb081bed5521
|
File details
Details for the file flake8_to_ruff-0.0.94_dev.1-py3-none-win_amd64.whl.
File metadata
- Download URL: flake8_to_ruff-0.0.94_dev.1-py3-none-win_amd64.whl
- Upload date:
- Size: 608.3 kB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
960ec484fc2a47a0da82a685b1d67f2d40c9b9963a665f884fc12474303afd23
|
|
| MD5 |
1b8d40d1cc91ae9eb34a1600d354f2b8
|
|
| BLAKE2b-256 |
06ac49e6e5083281d5eef6aefd7d349b9871686099c94c2e5db6c82178ac0781
|
File details
Details for the file flake8_to_ruff-0.0.94_dev.1-py3-none-win32.whl.
File metadata
- Download URL: flake8_to_ruff-0.0.94_dev.1-py3-none-win32.whl
- Upload date:
- Size: 561.2 kB
- Tags: Python 3, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3f62ef8327ee0af7da176f07d03e570a9ee07bea1bb349f2f9deca5230e7569
|
|
| MD5 |
b13d0fed0b66e64e633511f21df89ef4
|
|
| BLAKE2b-256 |
24627d52a10870a96369f81c29dcd88314285aef98dcfa6d643c409516fa1338
|
File details
Details for the file flake8_to_ruff-0.0.94_dev.1-py3-none-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: flake8_to_ruff-0.0.94_dev.1-py3-none-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 722.5 kB
- Tags: Python 3, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68ec10f9cb3643f8d88e165cbc3370125d69f301c3b488b960300647d8e81c12
|
|
| MD5 |
7fd1d01346fd9d71f8429e683d41fc4d
|
|
| BLAKE2b-256 |
e2e0568b8efcefb788bace7c81b067f0479b9c7dadb300b246ff6903a0bd9614
|
File details
Details for the file flake8_to_ruff-0.0.94_dev.1-py3-none-musllinux_1_2_i686.whl.
File metadata
- Download URL: flake8_to_ruff-0.0.94_dev.1-py3-none-musllinux_1_2_i686.whl
- Upload date:
- Size: 690.2 kB
- Tags: Python 3, musllinux: musl 1.2+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
136a8e6efab0b054a77ceb0bffbc6fc9259a95ace0828a4bd53658348264ef91
|
|
| MD5 |
c0b3ff1c02ade5501bee1dad2d6364b6
|
|
| BLAKE2b-256 |
ddbeb256136f71d8793080c5bca458842f8db9e6bac1b2a993ed6b4654513498
|
File details
Details for the file flake8_to_ruff-0.0.94_dev.1-py3-none-musllinux_1_2_armv7l.whl.
File metadata
- Download URL: flake8_to_ruff-0.0.94_dev.1-py3-none-musllinux_1_2_armv7l.whl
- Upload date:
- Size: 619.9 kB
- Tags: Python 3, musllinux: musl 1.2+ ARMv7l
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17e509b510beb3d32adb450823e7bd40bcca73e1c932b4ccad1781d03a6d58e8
|
|
| MD5 |
829515d51300e005624b217a8ec8e1aa
|
|
| BLAKE2b-256 |
f9fff8b0e1122bbd35974ffcca25f604dffec6a91e0a950e00aeec1c2c1b7f1f
|
File details
Details for the file flake8_to_ruff-0.0.94_dev.1-py3-none-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: flake8_to_ruff-0.0.94_dev.1-py3-none-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 634.3 kB
- Tags: Python 3, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1df27112d30900678df65ba9705f40047b2490fdc3658dc829b7cc1565ea844
|
|
| MD5 |
10c0b311afde9d00ac0d1f7b5b578e2d
|
|
| BLAKE2b-256 |
5ea399ad6241407d584517b35bd8197419be485e0919e9b2c27afd5271ab26e1
|
File details
Details for the file flake8_to_ruff-0.0.94_dev.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: flake8_to_ruff-0.0.94_dev.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 682.4 kB
- Tags: Python 3, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01fc1e2838b7079d2bd77b780c8c67e6948832aa007283e8dec9e5f56418c2cd
|
|
| MD5 |
4968d09cc0cd0c44e1cf34d507f5943d
|
|
| BLAKE2b-256 |
bfe0d1bb2447a9e84804eba523ec5b0c77c428366cdde8d778b20febe2e15ce6
|
File details
Details for the file flake8_to_ruff-0.0.94_dev.1-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl.
File metadata
- Download URL: flake8_to_ruff-0.0.94_dev.1-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl
- Upload date:
- Size: 811.5 kB
- Tags: Python 3, manylinux: glibc 2.17+ s390x
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74dae5dbb068fcdbb8d1531ded1a10227d5c596457e812b36410baf492e97106
|
|
| MD5 |
daf31e40aefb7b84419ddbc8d3c5c373
|
|
| BLAKE2b-256 |
69a7707bc27392cc07ff988a961da3176e0228ba2186224a6fd9d9bd36a2be45
|
File details
Details for the file flake8_to_ruff-0.0.94_dev.1-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.
File metadata
- Download URL: flake8_to_ruff-0.0.94_dev.1-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
- Upload date:
- Size: 705.5 kB
- Tags: Python 3, manylinux: glibc 2.17+ ppc64le
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e2dcd55accf667a532bcd954220143b83763bf6fb15f8342a3280ca1ec9705a
|
|
| MD5 |
56c8f6135be4cd70634489bb0507c1cc
|
|
| BLAKE2b-256 |
1b2f673c7ba1288b3b43d545b6da5cb45500aae0b8ac2ff3dcea242b363d8a51
|
File details
Details for the file flake8_to_ruff-0.0.94_dev.1-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl.
File metadata
- Download URL: flake8_to_ruff-0.0.94_dev.1-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
- Upload date:
- Size: 723.4 kB
- Tags: Python 3, manylinux: glibc 2.17+ ppc64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2fc9acb7d78629c0f07af7070b58090c745de8e650420851d44a30a9b001b8c3
|
|
| MD5 |
9c03f96a66e5669fdc36a9c8cb613a92
|
|
| BLAKE2b-256 |
a555619c15af8852491c92402ecccd6a2b1a4f5842cd9aef63e1baa2aa93dd5a
|
File details
Details for the file flake8_to_ruff-0.0.94_dev.1-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.
File metadata
- Download URL: flake8_to_ruff-0.0.94_dev.1-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
- Upload date:
- Size: 610.2 kB
- Tags: Python 3, manylinux: glibc 2.17+ ARMv7l
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c52f0a2f78f45594abd7899730bd4bcf6a1fa6f4a3bafb9a878d9f3fc60553cc
|
|
| MD5 |
112ecd4b97003c3c6e047a11eddef442
|
|
| BLAKE2b-256 |
eeb47d101f4e85b8ffac0e071d8ae59f4dbbb90acb87562c420e2c8b579b3f38
|
File details
Details for the file flake8_to_ruff-0.0.94_dev.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: flake8_to_ruff-0.0.94_dev.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 622.7 kB
- Tags: Python 3, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7db471afc23b70367e416999131c4e7cde2ece79ab95839d9126fbe3d76006f
|
|
| MD5 |
c4252963053d9223f3fc80f5505fc2aa
|
|
| BLAKE2b-256 |
52b913dca9da08934dd0fa557f0522c135254e6522fb062854f8f4aaf0663b68
|
File details
Details for the file flake8_to_ruff-0.0.94_dev.1-py3-none-manylinux_2_5_i686.manylinux1_i686.whl.
File metadata
- Download URL: flake8_to_ruff-0.0.94_dev.1-py3-none-manylinux_2_5_i686.manylinux1_i686.whl
- Upload date:
- Size: 685.0 kB
- Tags: Python 3, manylinux: glibc 2.5+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb3f9aa77780f69de3601971aeda131fc7731505fabe1bd2a83498aeafe2351f
|
|
| MD5 |
ab2836580431d05962b25c252c1fc19a
|
|
| BLAKE2b-256 |
a898b638baa341b1744cf0fe687977e810d2d23f777e934f2492f0033faef978
|
File details
Details for the file flake8_to_ruff-0.0.94_dev.1-py3-none-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.
File metadata
- Download URL: flake8_to_ruff-0.0.94_dev.1-py3-none-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
- Upload date:
- Size: 1.2 MB
- Tags: Python 3, macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17afcd66e2643b8b95543372d546874f696a9fe7ed85f4cc29ce9c0d77e55f91
|
|
| MD5 |
ada8d927e079bc1d8fd6e53c50316ad3
|
|
| BLAKE2b-256 |
3c087721db8a1636c431d433136fa79333a2415e8f66eb366ede9a59219c2f12
|
File details
Details for the file flake8_to_ruff-0.0.94_dev.1-py3-none-macosx_10_7_x86_64.whl.
File metadata
- Download URL: flake8_to_ruff-0.0.94_dev.1-py3-none-macosx_10_7_x86_64.whl
- Upload date:
- Size: 655.4 kB
- Tags: Python 3, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b9e387bdd16f24bb6eea6709ad9b8138d2c254152b8a523576338e3c5e455b3
|
|
| MD5 |
1f0c6fa9bc34e7fb56ef27c083c4c00a
|
|
| BLAKE2b-256 |
4a735d84c0855a7b523be90105b5a25592bc55525e887a309872b8ac3da20d81
|