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.0.tar.gz (221.3 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.0-py3-none-win_amd64.whl (608.3 kB view details)

Uploaded Python 3Windows x86-64

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

Uploaded Python 3Windows x86

flake8_to_ruff-0.0.94_dev.0-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.0-py3-none-musllinux_1_2_i686.whl (690.1 kB view details)

Uploaded Python 3musllinux: musl 1.2+ i686

flake8_to_ruff-0.0.94_dev.0-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.0-py3-none-musllinux_1_2_aarch64.whl (634.4 kB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

flake8_to_ruff-0.0.94_dev.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (682.5 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

flake8_to_ruff-0.0.94_dev.0-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.0-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.0-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl (723.0 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ ppc64

flake8_to_ruff-0.0.94_dev.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (610.3 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARMv7l

flake8_to_ruff-0.0.94_dev.0-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.0-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.0-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.0-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.0.tar.gz.

File metadata

  • Download URL: flake8_to_ruff-0.0.94_dev.0.tar.gz
  • Upload date:
  • Size: 221.3 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.0.tar.gz
Algorithm Hash digest
SHA256 c93be16609948ab83e9e2490f27efd3c0062c5ccd199d101e931f74282459b6f
MD5 7069e9d5330ae443c34f077053a55aa1
BLAKE2b-256 f8a66e1865372f568cb6a11eb2336dbe920f3b164f2468e55577922e699625f1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flake8_to_ruff-0.0.94_dev.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 cd0c2057fc48defcdb2e8f27f4db77893444f2ffcc78be1bc5c1204ce7e9b26b
MD5 20c28f3702e170ff2d17b7c5123aebb0
BLAKE2b-256 87bee1d74b7b014ccef0cbf9b66dcbf373903422160e32044c1a75ab51dad286

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flake8_to_ruff-0.0.94_dev.0-py3-none-win32.whl
Algorithm Hash digest
SHA256 39ca9a8044e33dd9585ead1e124dd02af3fdbae196238337e448d0b15cbbae50
MD5 2da8a6bc68d3d9f7af85331f93c20ffb
BLAKE2b-256 31bfb79b63d98cbb6bd2aa822be079d65d27ebb9d5ac2f52750588301da6e443

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flake8_to_ruff-0.0.94_dev.0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 34e91060b2fbedc3cc7655b7586fd5f34e27658cb4ef594e1a0e3bd0c4a9a481
MD5 77471b781bc34a93c3906e5f1d239631
BLAKE2b-256 080b5dd10c3032066b62a0b116372b97539eaa2234ca5a57f9917f1907a6cf61

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flake8_to_ruff-0.0.94_dev.0-py3-none-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 f328e3709f883ba51d16384dd22b443aaa09bce2a031d34bbb477ffa71aa4f1e
MD5 a435fb3ccdcc18757418bc85be34fd51
BLAKE2b-256 7bf3cf6c8402744024f8b86c4693a1a534ac2f32850156ccb44128017d9f5918

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flake8_to_ruff-0.0.94_dev.0-py3-none-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 2628b718fea8a1b996a4291b601fcd4cd943666686ae0c5e663f6ddc0eed42a9
MD5 69cfa089871d7517392adf0967b2d21e
BLAKE2b-256 013a3f23e6bc6ff44ba53c83410a51171d909e42bdc7c0e594dbf8f5a70839d6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flake8_to_ruff-0.0.94_dev.0-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 15079a58c836986bf9b18f274123968abedaa5096857f168794db3f6c0392f9e
MD5 625febfcd6dbc7c99e742dbe75a1edb7
BLAKE2b-256 96689b3629735cf06294c64b663aa9795ac18a9d0b2deb94c0053560d031a49f

See more details on using hashes here.

File details

Details for the file flake8_to_ruff-0.0.94_dev.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for flake8_to_ruff-0.0.94_dev.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e5fc32663e58a49ca0a5d10f5fc07b8f642a9d3fc7598032d15f8712309f9961
MD5 4708da7397e88c5a638dbe00a78d78d7
BLAKE2b-256 bcdeed74a225afa7f70c4141ec8c49d170bfca103b59575e7ac92bab499b8b75

See more details on using hashes here.

File details

Details for the file flake8_to_ruff-0.0.94_dev.0-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl.

File metadata

File hashes

Hashes for flake8_to_ruff-0.0.94_dev.0-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 a8d225c520ac929b7855a9f7b79eae143f62e0e3115428028f55a9ddf85ae642
MD5 cc35be42c262acf911062f33210c890b
BLAKE2b-256 413ef850f0216df321976381deb3ff1f14f5176a7dd8f1f0df12e93c181b474a

See more details on using hashes here.

File details

Details for the file flake8_to_ruff-0.0.94_dev.0-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.

File metadata

File hashes

Hashes for flake8_to_ruff-0.0.94_dev.0-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 1297470bec8f8aed6e0095abd69b139b2ccd0f9c7be612364a46a59d6332c0a8
MD5 17a6ca99183f49fd6cc65792fa424dd5
BLAKE2b-256 d3fc6fdae5a5f74c0e09c9b7525894bbab1b9ae44880fa92850af949cdab6dac

See more details on using hashes here.

File details

Details for the file flake8_to_ruff-0.0.94_dev.0-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl.

File metadata

File hashes

Hashes for flake8_to_ruff-0.0.94_dev.0-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
Algorithm Hash digest
SHA256 dad275c3167e7e7ea59ca9eb4a2a3c82f8cad8a7569fbaf059cc32ea19b6442c
MD5 d651e471248b5374c7e83fc5eb0dcb4f
BLAKE2b-256 115b52b42d2817e9faa5abf28ec28a51f3421eca39628f025b2f80b678b7f280

See more details on using hashes here.

File details

Details for the file flake8_to_ruff-0.0.94_dev.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for flake8_to_ruff-0.0.94_dev.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 68d0d82ad3b7aa6b63d861b63b9bf2578ea541a35a939a025cf2287859d1f98b
MD5 956f6be230e87c6b72ecc8f817b5018b
BLAKE2b-256 8445ce58b991b61cb96acedd6798ee2d55de7dd5567c3e95134b6cb0a4177f3e

See more details on using hashes here.

File details

Details for the file flake8_to_ruff-0.0.94_dev.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for flake8_to_ruff-0.0.94_dev.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5db224e52e58fd78e6f52d0b874240d0f2658a0ec9e0ab0d6b42ead0e22a7078
MD5 46079b27535d477ec63b4c06228ca15b
BLAKE2b-256 474b5eaa23c02a177198f7d6e56557d2f13d7bc0f1589954510df95470424623

See more details on using hashes here.

File details

Details for the file flake8_to_ruff-0.0.94_dev.0-py3-none-manylinux_2_5_i686.manylinux1_i686.whl.

File metadata

File hashes

Hashes for flake8_to_ruff-0.0.94_dev.0-py3-none-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 d6447af35fb445834c860e97b361d730b14e792b1e83d7819a901fce7b08a719
MD5 f453e71d4a2abd43c72b33e962e54d2c
BLAKE2b-256 f03e34bf9db9bf7777de8b626ff4029e370e041a1f79ff54ac3ac935c1abd54b

See more details on using hashes here.

File details

Details for the file flake8_to_ruff-0.0.94_dev.0-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.0-py3-none-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 c24ca2478f6e55dbc8611d0ca4d8306d407d6aea9c380d4f118e5f768cc0eb76
MD5 3a13f950f277f3590c714bc34428afa1
BLAKE2b-256 f59e9e9d9271bc5d426c1efef57244cc3f0fa1e3262eadabec23d4fe508987c9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flake8_to_ruff-0.0.94_dev.0-py3-none-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 8c213b091f12afe1e5fa7e40502f05d015bcc07a7b0620ea15e87fd627d0cf8c
MD5 fef99e7f2d852b40b47e825de49477bf
BLAKE2b-256 6d46f9eae69295666bb5bcc6feeaa50dafaff310d6e175bb07dc8cdfaea3f5f1

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