Skip to main content

flake8-to-ruff

[!WARNING]

flake8-to-ruff is no longer supported. You may experience warnings or breakages when using it with versions of Ruff released after v0.0.233.

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 flake8-to-ruff:

flake8-to-ruff path/to/setup.cfg
flake8-to-ruff path/to/tox.ini
flake8-to-ruff path/to/.flake8

flake8-to-ruff will print the relevant pyproject.toml sections to standard output, like so:

[tool.ruff]
exclude = [
    '.svn',
    'CVS',
    '.bzr',
    '.hg',
    '.git',
    '__pycache__',
    '.tox',
    '.idea',
    '.mypy_cache',
    '.venv',
    'node_modules',
    '_state_machine.py',
    'test_fstring.py',
    'bad_coding2.py',
    'badsyntax_*.py',
]
select = [
    'A',
    'E',
    'F',
    'Q',
]
ignore = []

[tool.ruff.flake8-quotes]
inline-quotes = 'single'

[tool.ruff.pep8-naming]
ignore-names = [
    'foo',
    'bar',
]

Plugins

flake8-to-ruff will attempt to infer any activated plugins based on the settings provided in your configuration file.

For example, if your .flake8 file includes a docstring-convention property, flake8-to-ruff will enable the appropriate flake8-docstrings checks.

Alternatively, you can manually specify plugins on the command-line:

flake8-to-ruff path/to/.flake8 --plugin flake8-builtins --plugin flake8-quotes

Limitations

  1. Ruff only supports a subset of the Flake configuration options. flake8-to-ruff will warn on and ignore unsupported options in the .flake8 file (or equivalent). (Similarly, Ruff has a few configuration options that don't exist in Flake8.)
  2. Ruff will omit any rule codes that are unimplemented or unsupported by Ruff, including rule codes from unsupported plugins. (See the Ruff README for the complete list of supported plugins.)

License

MIT

Contributing

Contributions are welcome and hugely appreciated. To get started, check out the contributing guidelines.

Metadata

Release files for flake8-to-ruff 0.0.234

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flake8-to-ruff 0.0.234
File Size Uploaded Provenance Actions
flake8_to_ruff-0.0.234.tar.gz 726.0 kB Without provenance Details for flake8_to_ruff-0.0.234.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for flake8-to-ruff 0.0.234
File Actions
flake8_to_ruff-0.0.234-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for flake8_to_ruff-0.0.234-py3-none-win_amd64.whl
flake8_to_ruff-0.0.234-py3-none-win32.whl Python 3 none Windows x86-32 Details for flake8_to_ruff-0.0.234-py3-none-win32.whl
flake8_to_ruff-0.0.234-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details for flake8_to_ruff-0.0.234-py3-none-musllinux_1_2_x86_64.whl
flake8_to_ruff-0.0.234-py3-none-musllinux_1_2_i686.whl Python 3 none Linux musl 1.2+ x86-32 Details for flake8_to_ruff-0.0.234-py3-none-musllinux_1_2_i686.whl
flake8_to_ruff-0.0.234-py3-none-musllinux_1_2_armv7l.whl Python 3 none Linux musl 1.2+ ARMv7l Details for flake8_to_ruff-0.0.234-py3-none-musllinux_1_2_armv7l.whl
flake8_to_ruff-0.0.234-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details for flake8_to_ruff-0.0.234-py3-none-musllinux_1_2_aarch64.whl
flake8_to_ruff-0.0.234-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for flake8_to_ruff-0.0.234-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
flake8_to_ruff-0.0.234-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl Python 3 none Linux glibc 2.17+ IBM System/390x Details for flake8_to_ruff-0.0.234-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl
flake8_to_ruff-0.0.234-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl Python 3 none Linux glibc 2.17+ PowerPC 64-le Details for flake8_to_ruff-0.0.234-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
flake8_to_ruff-0.0.234-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl Python 3 none Linux glibc 2.17+ PowerPC 64-be Details for flake8_to_ruff-0.0.234-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
flake8_to_ruff-0.0.234-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl Python 3 none Linux glibc 2.17+ x86-32 Details for flake8_to_ruff-0.0.234-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
flake8_to_ruff-0.0.234-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl Python 3 none Linux glibc 2.17+ ARMv7l Details for flake8_to_ruff-0.0.234-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
flake8_to_ruff-0.0.234-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for flake8_to_ruff-0.0.234-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
flake8_to_ruff-0.0.234-py3-none-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl Python 3 none macOS 11.0+ ARM64, macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64 Details for flake8_to_ruff-0.0.234-py3-none-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
flake8_to_ruff-0.0.234-py3-none-macosx_10_7_x86_64.whl Python 3 none macOS 10.7+ x86-64 Details for flake8_to_ruff-0.0.234-py3-none-macosx_10_7_x86_64.whl

Total release size: 14.3 MB

Release files / flake8_to_ruff-0.0.234.tar.gz

Download URL flake8_to_ruff-0.0.234.tar.gz
Size 726.0 kB
Tags Source
SHA-256 checksum
How to use checksums
00f1eb4115523f28d9cabaa06c26ee88ea68d1193b1a09209bac9d30949a8b22
BLAKE2b-256 checksum
How to use checksums
79cd5268a5dc9c2cb2bcd6004af8c3ccbbaea33f3d1b008a41fac94378ec2cbd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.2

Release files / flake8_to_ruff-0.0.234-py3-none-win_amd64.whl

Download URL flake8_to_ruff-0.0.234-py3-none-win_amd64.whl
Size 789.0 kB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
10b06c830d88c97f618d6e68a4b3afc8d0e0a74c8c571444ff618e517264f355
BLAKE2b-256 checksum
How to use checksums
efd81d5a3ba965b364b0274af20b7caf95351b0d911d1965647dd791aaadf293
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.0

Release files / flake8_to_ruff-0.0.234-py3-none-win32.whl

Download URL flake8_to_ruff-0.0.234-py3-none-win32.whl
Size 722.3 kB
Tags Python 3 Windows x86-32
SHA-256 checksum
How to use checksums
b3c985e6db3a2ca349a1ae2577bf32373cbe5c69d376e6a22828ec13899d431f
BLAKE2b-256 checksum
How to use checksums
a50d90a64b9238a839f83cd9714e34a1b7aedae3eb6de224bc9e647dd5cbf2a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.0

Release files / flake8_to_ruff-0.0.234-py3-none-musllinux_1_2_x86_64.whl

Download URL flake8_to_ruff-0.0.234-py3-none-musllinux_1_2_x86_64.whl
Size 913.5 kB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
a0483771d2c7107ac7fd494ae8770f2323eeaaab41acd4071f96763cb8a8c119
BLAKE2b-256 checksum
How to use checksums
4d9adf3c1d600cf0acdbfbe17dc67a35fb2bb41cad9dacba224b92ede9fa85ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.0

Release files / flake8_to_ruff-0.0.234-py3-none-musllinux_1_2_i686.whl

Download URL flake8_to_ruff-0.0.234-py3-none-musllinux_1_2_i686.whl
Size 872.8 kB
Tags Linux musl 1.2+ x86-32 Python 3
SHA-256 checksum
How to use checksums
97f5e6f9ca06b7b18f52101c509c95cf0b035183dd9804616691834b04ae478b
BLAKE2b-256 checksum
How to use checksums
acee5ffcb03897f4cfa5895c30d5b3d8d0d1729b7f3f665bac4cac5be0f6ad9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.0

Release files / flake8_to_ruff-0.0.234-py3-none-musllinux_1_2_armv7l.whl

Download URL flake8_to_ruff-0.0.234-py3-none-musllinux_1_2_armv7l.whl
Size 788.7 kB
Tags Linux musl 1.2+ ARMv7l Python 3
SHA-256 checksum
How to use checksums
06ac25865ae185dc29efbe32ce6ad7a5280df8031a05ab8bd64f9ed7609d9960
BLAKE2b-256 checksum
How to use checksums
c2068450852b081032dd884fa38d6b53b8f74b2f8039827b40df146d658e3c62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.0

Release files / flake8_to_ruff-0.0.234-py3-none-musllinux_1_2_aarch64.whl

Download URL flake8_to_ruff-0.0.234-py3-none-musllinux_1_2_aarch64.whl
Size 807.1 kB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
cf79a254cde5aafbd3206a7b7313484ef7a458b2782e1498fbdb99a3a9fd24ae
BLAKE2b-256 checksum
How to use checksums
fdd030c1234ebd2060924817c43a364f38b833f41fbb0f46fa686ccd52b2e817
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.0

Release files / flake8_to_ruff-0.0.234-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL flake8_to_ruff-0.0.234-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 870.3 kB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
a5cbb3fc82004252e74caf50db53e8356e31a021f308abf3488e9b92ca085678
BLAKE2b-256 checksum
How to use checksums
4443c781d54efaa5f5594268e5b1544a5441d675b0b5d5890c6701973d31df1c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.0

Release files / flake8_to_ruff-0.0.234-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl

Download URL flake8_to_ruff-0.0.234-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl
Size 1.1 MB
Tags Linux glibc 2.17+ IBM System/390x Python 3
SHA-256 checksum
How to use checksums
574c0542b24afb70bf88128bb57ecdac3dc35b9b2c2ae6faadf76011b742df21
BLAKE2b-256 checksum
How to use checksums
708fc5e5cbc5a8ad9614e12de41e3c35fb2a8ce14a4bae956c6ba07095e117f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.0

Release files / flake8_to_ruff-0.0.234-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl

Download URL flake8_to_ruff-0.0.234-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Size 913.4 kB
Tags Linux glibc 2.17+ PowerPC 64-le Python 3
SHA-256 checksum
How to use checksums
d5cd56a58e613f3f7d21079288b78c44bcd3e9c4ddde15b365c6b53756c91553
BLAKE2b-256 checksum
How to use checksums
b2b2ed8568ccf815fcca122a5059f37e1d89b166df093a09e5a4b86364b55206
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.0

Release files / flake8_to_ruff-0.0.234-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl

Download URL flake8_to_ruff-0.0.234-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
Size 922.1 kB
Tags Linux glibc 2.17+ PowerPC 64-be Python 3
SHA-256 checksum
How to use checksums
18b04d68150605a1858245b0d83f8e1f3240b6e7f5db19d774d284a0db6b8c04
BLAKE2b-256 checksum
How to use checksums
49f604ec26726b0be82b0f115b18d6e621e2f943596b97695a4eedf0122ba8a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.0

Release files / flake8_to_ruff-0.0.234-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl

Download URL flake8_to_ruff-0.0.234-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
Size 873.6 kB
Tags Linux glibc 2.17+ x86-32 Python 3
SHA-256 checksum
How to use checksums
b1ed890618e907d7bfb8d3c7d8894382d9356ed540866e6874bc38697c9743de
BLAKE2b-256 checksum
How to use checksums
e402409baf48cba73b3d49ce02e78a89683238582a221ace98b5da267b69b331
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.0

Release files / flake8_to_ruff-0.0.234-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl

Download URL flake8_to_ruff-0.0.234-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Size 778.3 kB
Tags Linux glibc 2.17+ ARMv7l Python 3
SHA-256 checksum
How to use checksums
1eced8c763304c1d2b254a500ccf5920d62b0f333f8b51d06b7a4f38fa185509
BLAKE2b-256 checksum
How to use checksums
26f45174d686ac4fbd6cd482dd170396e9334b1a306c5024cbc743ee403951c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.0

Release files / flake8_to_ruff-0.0.234-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL flake8_to_ruff-0.0.234-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 796.4 kB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
4a2bcdc1f5650742e52a859f8675ee944067ce7d9ddb69e54bb7886a30ddfc7b
BLAKE2b-256 checksum
How to use checksums
8f7b0f32c8f25f7d69f1a653b917b7380a28e41c6c93ace795f4f75b47eb36e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.0

Release files / flake8_to_ruff-0.0.234-py3-none-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl

Download URL flake8_to_ruff-0.0.234-py3-none-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Size 1.6 MB
Tags Python 3 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
ef5c7b7599deb35443fc4dfccb14ddcd4ac8234b39b8acf77e40b3acfcadf6f8
BLAKE2b-256 checksum
How to use checksums
dbc72eecad034961e87f40ab9f71bc54d67662de3b16bd4569cb31cc4411a2f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.0

Release files / flake8_to_ruff-0.0.234-py3-none-macosx_10_7_x86_64.whl

Download URL flake8_to_ruff-0.0.234-py3-none-macosx_10_7_x86_64.whl
Size 863.4 kB
Tags Python 3 macOS 10.7+ x86-64
SHA-256 checksum
How to use checksums
f6e4bd5027b2ee2a97e0959420adf660747dac5bfbce065bf98d283837c83c30
BLAKE2b-256 checksum
How to use checksums
de080c63ae4b04045429a5b3c37bf865995741000b023637c48530c31ce5bbc7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.0

Security for flake8-to-ruff 0.0.234

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page