Skip to main content

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

  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 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.)
  3. flake8-to-ruff does 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 your select or extend-select fields, so that flake8-to-ruff can pick them up.

License

MIT

Contributing

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flake8_to_ruff-0.0.94_dev.1.tar.gz (222.2 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

flake8_to_ruff-0.0.94_dev.1-py3-none-win_amd64.whl (608.3 kB view details)

Uploaded Python 3Windows x86-64

flake8_to_ruff-0.0.94_dev.1-py3-none-win32.whl (561.2 kB view details)

Uploaded Python 3Windows x86

flake8_to_ruff-0.0.94_dev.1-py3-none-musllinux_1_2_x86_64.whl (722.5 kB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

flake8_to_ruff-0.0.94_dev.1-py3-none-musllinux_1_2_i686.whl (690.2 kB view details)

Uploaded Python 3musllinux: musl 1.2+ i686

flake8_to_ruff-0.0.94_dev.1-py3-none-musllinux_1_2_armv7l.whl (619.9 kB view details)

Uploaded Python 3musllinux: musl 1.2+ ARMv7l

flake8_to_ruff-0.0.94_dev.1-py3-none-musllinux_1_2_aarch64.whl (634.3 kB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

flake8_to_ruff-0.0.94_dev.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (682.4 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

flake8_to_ruff-0.0.94_dev.1-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl (811.5 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ s390x

flake8_to_ruff-0.0.94_dev.1-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (705.5 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ ppc64le

flake8_to_ruff-0.0.94_dev.1-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl (723.4 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ ppc64

flake8_to_ruff-0.0.94_dev.1-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (610.2 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARMv7l

flake8_to_ruff-0.0.94_dev.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (622.7 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

flake8_to_ruff-0.0.94_dev.1-py3-none-manylinux_2_5_i686.manylinux1_i686.whl (685.0 kB view details)

Uploaded Python 3manylinux: glibc 2.5+ i686

flake8_to_ruff-0.0.94_dev.1-py3-none-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (1.2 MB view details)

Uploaded Python 3macOS 10.9+ universal2 (ARM64, x86-64)macOS 10.9+ x86-64macOS 11.0+ ARM64

flake8_to_ruff-0.0.94_dev.1-py3-none-macosx_10_7_x86_64.whl (655.4 kB view details)

Uploaded Python 3macOS 10.7+ x86-64

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

Hashes for flake8_to_ruff-0.0.94_dev.1.tar.gz
Algorithm Hash digest
SHA256 06ed9d789131bd98b8d616d830e341b714aff8d22beb8177c22bc0dee58a4659
MD5 d1941a369552b6098b4908740349d4eb
BLAKE2b-256 07593b70f652697de70b17cc8560355328e27c0456b121add044bb081bed5521

See more details on using hashes here.

File details

Details for the file flake8_to_ruff-0.0.94_dev.1-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for flake8_to_ruff-0.0.94_dev.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 960ec484fc2a47a0da82a685b1d67f2d40c9b9963a665f884fc12474303afd23
MD5 1b8d40d1cc91ae9eb34a1600d354f2b8
BLAKE2b-256 06ac49e6e5083281d5eef6aefd7d349b9871686099c94c2e5db6c82178ac0781

See more details on using hashes here.

File details

Details for the file flake8_to_ruff-0.0.94_dev.1-py3-none-win32.whl.

File metadata

File hashes

Hashes for flake8_to_ruff-0.0.94_dev.1-py3-none-win32.whl
Algorithm Hash digest
SHA256 f3f62ef8327ee0af7da176f07d03e570a9ee07bea1bb349f2f9deca5230e7569
MD5 b13d0fed0b66e64e633511f21df89ef4
BLAKE2b-256 24627d52a10870a96369f81c29dcd88314285aef98dcfa6d643c409516fa1338

See more details on using hashes here.

File details

Details for the file flake8_to_ruff-0.0.94_dev.1-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for flake8_to_ruff-0.0.94_dev.1-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 68ec10f9cb3643f8d88e165cbc3370125d69f301c3b488b960300647d8e81c12
MD5 7fd1d01346fd9d71f8429e683d41fc4d
BLAKE2b-256 e2e0568b8efcefb788bace7c81b067f0479b9c7dadb300b246ff6903a0bd9614

See more details on using hashes here.

File details

Details for the file flake8_to_ruff-0.0.94_dev.1-py3-none-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for flake8_to_ruff-0.0.94_dev.1-py3-none-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 136a8e6efab0b054a77ceb0bffbc6fc9259a95ace0828a4bd53658348264ef91
MD5 c0b3ff1c02ade5501bee1dad2d6364b6
BLAKE2b-256 ddbeb256136f71d8793080c5bca458842f8db9e6bac1b2a993ed6b4654513498

See more details on using hashes here.

File details

Details for the file flake8_to_ruff-0.0.94_dev.1-py3-none-musllinux_1_2_armv7l.whl.

File metadata

File hashes

Hashes for flake8_to_ruff-0.0.94_dev.1-py3-none-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 17e509b510beb3d32adb450823e7bd40bcca73e1c932b4ccad1781d03a6d58e8
MD5 829515d51300e005624b217a8ec8e1aa
BLAKE2b-256 f9fff8b0e1122bbd35974ffcca25f604dffec6a91e0a950e00aeec1c2c1b7f1f

See more details on using hashes here.

File details

Details for the file flake8_to_ruff-0.0.94_dev.1-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for flake8_to_ruff-0.0.94_dev.1-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 e1df27112d30900678df65ba9705f40047b2490fdc3658dc829b7cc1565ea844
MD5 10c0b311afde9d00ac0d1f7b5b578e2d
BLAKE2b-256 5ea399ad6241407d584517b35bd8197419be485e0919e9b2c27afd5271ab26e1

See more details on using hashes here.

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

File hashes

Hashes for flake8_to_ruff-0.0.94_dev.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 01fc1e2838b7079d2bd77b780c8c67e6948832aa007283e8dec9e5f56418c2cd
MD5 4968d09cc0cd0c44e1cf34d507f5943d
BLAKE2b-256 bfe0d1bb2447a9e84804eba523ec5b0c77c428366cdde8d778b20febe2e15ce6

See more details on using hashes here.

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

File hashes

Hashes for flake8_to_ruff-0.0.94_dev.1-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 74dae5dbb068fcdbb8d1531ded1a10227d5c596457e812b36410baf492e97106
MD5 daf31e40aefb7b84419ddbc8d3c5c373
BLAKE2b-256 69a7707bc27392cc07ff988a961da3176e0228ba2186224a6fd9d9bd36a2be45

See more details on using hashes here.

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

File hashes

Hashes for flake8_to_ruff-0.0.94_dev.1-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 4e2dcd55accf667a532bcd954220143b83763bf6fb15f8342a3280ca1ec9705a
MD5 56c8f6135be4cd70634489bb0507c1cc
BLAKE2b-256 1b2f673c7ba1288b3b43d545b6da5cb45500aae0b8ac2ff3dcea242b363d8a51

See more details on using hashes here.

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

File hashes

Hashes for flake8_to_ruff-0.0.94_dev.1-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
Algorithm Hash digest
SHA256 2fc9acb7d78629c0f07af7070b58090c745de8e650420851d44a30a9b001b8c3
MD5 9c03f96a66e5669fdc36a9c8cb613a92
BLAKE2b-256 a555619c15af8852491c92402ecccd6a2b1a4f5842cd9aef63e1baa2aa93dd5a

See more details on using hashes here.

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

File hashes

Hashes for flake8_to_ruff-0.0.94_dev.1-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 c52f0a2f78f45594abd7899730bd4bcf6a1fa6f4a3bafb9a878d9f3fc60553cc
MD5 112ecd4b97003c3c6e047a11eddef442
BLAKE2b-256 eeb47d101f4e85b8ffac0e071d8ae59f4dbbb90acb87562c420e2c8b579b3f38

See more details on using hashes here.

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

File hashes

Hashes for flake8_to_ruff-0.0.94_dev.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d7db471afc23b70367e416999131c4e7cde2ece79ab95839d9126fbe3d76006f
MD5 c4252963053d9223f3fc80f5505fc2aa
BLAKE2b-256 52b913dca9da08934dd0fa557f0522c135254e6522fb062854f8f4aaf0663b68

See more details on using hashes here.

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

File hashes

Hashes for flake8_to_ruff-0.0.94_dev.1-py3-none-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 bb3f9aa77780f69de3601971aeda131fc7731505fabe1bd2a83498aeafe2351f
MD5 ab2836580431d05962b25c252c1fc19a
BLAKE2b-256 a898b638baa341b1744cf0fe687977e810d2d23f777e934f2492f0033faef978

See more details on using hashes here.

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

File hashes

Hashes for flake8_to_ruff-0.0.94_dev.1-py3-none-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 17afcd66e2643b8b95543372d546874f696a9fe7ed85f4cc29ce9c0d77e55f91
MD5 ada8d927e079bc1d8fd6e53c50316ad3
BLAKE2b-256 3c087721db8a1636c431d433136fa79333a2415e8f66eb366ede9a59219c2f12

See more details on using hashes here.

File details

Details for the file flake8_to_ruff-0.0.94_dev.1-py3-none-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for flake8_to_ruff-0.0.94_dev.1-py3-none-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 7b9e387bdd16f24bb6eea6709ad9b8138d2c254152b8a523576338e3c5e455b3
MD5 1f0c6fa9bc34e7fb56ef27c083c4c00a
BLAKE2b-256 4a735d84c0855a7b523be90105b5a25592bc55525e887a309872b8ac3da20d81

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page