Skip to main content

Generate a migration path to ruff from anywhere.

Project description

that's ruffly-all.

Answering what's necessary to migrate to ruff right now.

Motivation

Starting with ruff is simple. But enabling "ALL" rules in an existing application? That’s a challenge.

This project helps identify the minimal set of rules to disable temporarily, ensuring the CI remains green while allowing maintainers to iteratively fix their codebase at their own pace.

Installation

pip install ruffly-all

or

cargo install ruffly-all

Usage

Find a project you'd like to use ruff in, we'll be using pylint as an example[^1].

cd pylint/
ruffly-all
[tool.ruff]
lint.select = [ "ALL" ]
lint.ignore = [
  "D203",    # incompatible to D211
  "D212",    # incompatible to D213
  "A",
  "ANN",
  "ARG",
  "B",
  "BLE",
  "C",
  "COM",
  "D",
  "DTZ",
  "E",
  "EM",
  "ERA",
  "EXE",
  "F",
  "FBT",
  "FIX",
  "FLY",
  "FURB",
  "G",
  "ICN",
  "INP",
  "ISC",
  "LOG",
  "N",
  "NPY",
  "PERF",
  "PGH",
  "PIE",
  "PLC",
  "PLE",
  "PLR",
  "PLW",
  "PT",
  "PTH",
  "PYI",
  "Q",
  "RET",
  "RSE",
  "RUF",
  "S",
  "SIM",
  "SLF",
  "T",
  "TC",
  "TD",
  "TID",
  "TRY",
  "UP",
  "W",
  "YTT",
]

[^1]: While this does look like the pylint project had a lot going on, keep in mind extensive parts of the repo are faulty python snippets necessary as test resources for pylints unittests.

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

ruffly_all-0.4.0.tar.gz (6.2 kB view details)

Uploaded Source

Built Distributions

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

ruffly_all-0.4.0-py3-none-win_amd64.whl (193.6 kB view details)

Uploaded Python 3Windows x86-64

ruffly_all-0.4.0-py3-none-win32.whl (182.7 kB view details)

Uploaded Python 3Windows x86

ruffly_all-0.4.0-py3-none-musllinux_1_2_x86_64.whl (372.3 kB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

ruffly_all-0.4.0-py3-none-musllinux_1_2_i686.whl (382.1 kB view details)

Uploaded Python 3musllinux: musl 1.2+ i686

ruffly_all-0.4.0-py3-none-musllinux_1_2_armv7l.whl (352.4 kB view details)

Uploaded Python 3musllinux: musl 1.2+ ARMv7l

ruffly_all-0.4.0-py3-none-musllinux_1_2_aarch64.whl (359.2 kB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

ruffly_all-0.4.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (315.0 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

ruffly_all-0.4.0-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl (347.5 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ s390x

ruffly_all-0.4.0-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (415.5 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ ppc64le

ruffly_all-0.4.0-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl (330.3 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ i686

ruffly_all-0.4.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (314.3 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARMv7l

ruffly_all-0.4.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (303.0 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

ruffly_all-0.4.0-py3-none-macosx_11_0_arm64.whl (279.9 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

Details for the file ruffly_all-0.4.0.tar.gz.

File metadata

  • Download URL: ruffly_all-0.4.0.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.11.5

File hashes

Hashes for ruffly_all-0.4.0.tar.gz
Algorithm Hash digest
SHA256 b1af2eae93f6565f36fb05eb4b081fd910c78810305fbf65ecd643ed5f56be1a
MD5 ba46bbcea3e302ef0f81bf986f2561ab
BLAKE2b-256 60c4fe488d8ccd420e02336807e9f736b31c7d496e0cb7fa64c11d86c20444b9

See more details on using hashes here.

File details

Details for the file ruffly_all-0.4.0-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for ruffly_all-0.4.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 5319028422ec5d7adef9d0921f9eb34b4317aa96a416596492650453ecd8b054
MD5 7b5d31ee0f38580b23a11692a3895d91
BLAKE2b-256 ea999f71fd55231d36cda5ca12fe221eb937b522bc0a389ede5b57856c2447d3

See more details on using hashes here.

File details

Details for the file ruffly_all-0.4.0-py3-none-win32.whl.

File metadata

  • Download URL: ruffly_all-0.4.0-py3-none-win32.whl
  • Upload date:
  • Size: 182.7 kB
  • Tags: Python 3, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.11.5

File hashes

Hashes for ruffly_all-0.4.0-py3-none-win32.whl
Algorithm Hash digest
SHA256 6e1400e2c2560e563f416d78f4bb96c311cbf95a4f797cec05bfe3d4116e4965
MD5 e78b537a6d9371d984fbfaae52bfd0d9
BLAKE2b-256 7494a00faed5fcd3ebb70e22ed6c73c7fa20ab2c1bb5476ce008cdc9f655daa9

See more details on using hashes here.

File details

Details for the file ruffly_all-0.4.0-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for ruffly_all-0.4.0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d4fdd249ad480eedef147d183ee345f65e31f7cde855c09bbfd538022fcb2df5
MD5 cf13018546bd500a22a521ab6a5d81d7
BLAKE2b-256 654acea16c9a451331d3865faecce3139e3e1d4af8e0f6b5876115bae50ba2f4

See more details on using hashes here.

File details

Details for the file ruffly_all-0.4.0-py3-none-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for ruffly_all-0.4.0-py3-none-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 e6b94c2ae4260ee29c11adaabc97f41c07100487bef3b296fa1cb584cbb38569
MD5 507ed4f34cb239012a16e2ef40c9d80d
BLAKE2b-256 07c802981f526a33a98f523f25f0f10527ad8d1dd1cfe712defb31f29e7a648a

See more details on using hashes here.

File details

Details for the file ruffly_all-0.4.0-py3-none-musllinux_1_2_armv7l.whl.

File metadata

File hashes

Hashes for ruffly_all-0.4.0-py3-none-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 c88467288dedafec61130d9c1b2e6dbe7ee3b05a1854cda42c36d20350069a19
MD5 c57e0822e43517fdd4ab86a345ad3de8
BLAKE2b-256 28a57e3b49a6cda9682d1c651b0d5c0e95db65113b7a4f6bb5c539477dde5e8a

See more details on using hashes here.

File details

Details for the file ruffly_all-0.4.0-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for ruffly_all-0.4.0-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 c280606247c05c63fc82d805041c2b7999196e70e95f0308bdfad5a5f30d5f59
MD5 33186985c414ddb547b83d440a6a0f77
BLAKE2b-256 1dc4a4c6c523dcc789ace827f853e719ca385d5054556eb438028f1fa4df7f30

See more details on using hashes here.

File details

Details for the file ruffly_all-0.4.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for ruffly_all-0.4.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 921412121812310eafe6d18228e01925fffc9a7cfa43d4416b38bdd93ac99dc3
MD5 8e59869b8454c8c7d3a59a232730a25a
BLAKE2b-256 d6a30d8777294fb6f66438eeffe42970973c920d13b4b0111e71e60c223e63b1

See more details on using hashes here.

File details

Details for the file ruffly_all-0.4.0-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl.

File metadata

File hashes

Hashes for ruffly_all-0.4.0-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 35140d53a30ba1d5ccc40723c29a33affcbdfacd0818259d34b677829d0795d7
MD5 f802de8c888c1722bdb8f4faf1b3dcf0
BLAKE2b-256 e5189097ee3de39d587f206d5c1262599248c26e5092e58f7a7b6c19b9c23512

See more details on using hashes here.

File details

Details for the file ruffly_all-0.4.0-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.

File metadata

File hashes

Hashes for ruffly_all-0.4.0-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 5a52c983788e4a254a35880a1ba1e41b0884fb0b8505a18b297954ea564c6023
MD5 23de11179f504f4cb44b8367027ac553
BLAKE2b-256 c788fc011d7a840012cecd580d1b7eaf5b1b1f2746f79dcf747bbe69732c3441

See more details on using hashes here.

File details

Details for the file ruffly_all-0.4.0-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for ruffly_all-0.4.0-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 96e0a6cf39e5ee3712e1c6e730befb3edc60c2a8446a74f426c8ceac63ca2f74
MD5 59587f34165797415abb2c8db4ac902e
BLAKE2b-256 7423b4b6281aa60659751759b6886e4c1f02a0128f69051c56a3bf0ec90efebe

See more details on using hashes here.

File details

Details for the file ruffly_all-0.4.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for ruffly_all-0.4.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 577bf6fb58f48819a1be316c82cd4b24906269214b3d4dc53dce4d7c2127f81c
MD5 d0381808dfac8fa6e912f1c0fcdf747c
BLAKE2b-256 4f5bc8c57ffeb61b3ea486b65058f191b2f4a87b8c4163a159d854490242e70b

See more details on using hashes here.

File details

Details for the file ruffly_all-0.4.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for ruffly_all-0.4.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7f750a1d04fa28515193849e0667202561c5b20cce5794f399c8a514b86eca8c
MD5 9829bbf763dd756a83e91c8d4976e2d8
BLAKE2b-256 a0c7d6480d706d94b40030877f421adf8e7a0a2f7d86a3a40eb2fb87e53a69cb

See more details on using hashes here.

File details

Details for the file ruffly_all-0.4.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for ruffly_all-0.4.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 906ecdeee45988d2ca911c6f371dc22fd375177778f9c969ae272a448d3b2620
MD5 6223551b7673fb86519ea4bf0fff3548
BLAKE2b-256 97c941a408c8c9380e43214a99ed7215fba19054912943af72194f4298b17166

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