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.1.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.1-py3-none-win_amd64.whl (193.6 kB view details)

Uploaded Python 3Windows x86-64

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

Uploaded Python 3Windows x86

ruffly_all-0.4.1-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.1-py3-none-musllinux_1_2_i686.whl (382.0 kB view details)

Uploaded Python 3musllinux: musl 1.2+ i686

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

Uploaded Python 3musllinux: musl 1.2+ ARMv7l

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

ruffly_all-0.4.1-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.1-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl (347.6 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ s390x

ruffly_all-0.4.1-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.1-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.1-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.1-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.1-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.1.tar.gz.

File metadata

  • Download URL: ruffly_all-0.4.1.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.1.tar.gz
Algorithm Hash digest
SHA256 0f8fc6d8ebf06c254d415959f1cc2d607ad4e23e717b579ff439ceba8429adc5
MD5 4409b4779271aef6d6663e51852932c4
BLAKE2b-256 c9de62742a7c519da58473af7341543b6be9d96f2eb79bcd06aac89e2c29be64

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruffly_all-0.4.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 edfe2af1b06da0e75f8f8fd1b8b43c7fbb8335b47ef8cef65a972e2532bf8072
MD5 4b7b42a622d49cbf03b6e179a23d8dca
BLAKE2b-256 65b6f76363a765f7cfebf79066515e32671595fb941900ddd24f68d0cc4f3d6a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ruffly_all-0.4.1-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.1-py3-none-win32.whl
Algorithm Hash digest
SHA256 23cf8384c35b15725ed70b4de91f5a45543e4f40eacd9eb7526b201ba8ce4918
MD5 27425397a9140eb90bfbcc0f9ca568c6
BLAKE2b-256 64e29a1a12f59829c0f5c5d8aa9ce9d6b708601736eacd87b42256f25b64b4c9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruffly_all-0.4.1-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d06a8af48352e3939b8a889cda6fdae9b2b9d4ec1524e0cb833bca0bf6e78758
MD5 2bc2f13561b796668a343aade1255c90
BLAKE2b-256 da1d1302cb6d98022393a6514a98b26e8a1d5974927748d236b913652b1aee60

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruffly_all-0.4.1-py3-none-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 85d3fdb8c80de4521ae0ab256f11bd5d67af8c4a4d702eeebca4bf63073893bb
MD5 0e56a2a372bf7e12a1c33c8175119311
BLAKE2b-256 7526e25c7101ca30bba0c7e951ade20e1f3a6ee4ec8109d3bc1661614fd9b610

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruffly_all-0.4.1-py3-none-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 24097ddd8d745e0254df916799068d543b55d6f6571d0b17241aa4af208f9663
MD5 72eb6d0fcf0a21f9658522b6aee887c9
BLAKE2b-256 fb29504667c7f99b201d9527c1862303f6946eb1ca0a1655097dc7f19663ec38

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruffly_all-0.4.1-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 11f2100c2983522d82f204f8c9a575e4a9c445364aa7ee2c1277117af81488ff
MD5 f8b013b8107fd10d9e2a544230bd16a5
BLAKE2b-256 97a2fc022705cbeb03d474f678b9a8faf8412fd43504522f20d1764f6ba5abd6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruffly_all-0.4.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f8be4747e198f18969889734418fa74279999c9e95a0f8ad2a08d68a4c06f2d8
MD5 861341663ceeb8de4fab667a75adb0e7
BLAKE2b-256 5ee0a6eef83bfe86fa25901b24402ae0fcbda0408ea02c33da9bc1f235e5454d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruffly_all-0.4.1-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 ad466dc704bd7bbf445ae9fa8447c359a197de8a8e771094e0d4db521ff4794a
MD5 802cbdf38f7040d9427b391fef153f24
BLAKE2b-256 398b28538e5e20192c88c595ee90da5baa3e5f64d001ff1c19e273c723110c8b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruffly_all-0.4.1-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 b85af7bb356517a379d30e6221cd1a134ab2d80b62a76ccd94c93bc543e2d998
MD5 defdcdfe4d6bf76838a58bd9059962c0
BLAKE2b-256 38b5ebe8dde81070ca336dfb49b1c12ec181e814c0614c9876b3d31789bebb62

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruffly_all-0.4.1-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 b7aec3e4e776f2b06b3f106237f183727f9edb07800a4322ca53b6326e4f277e
MD5 512c8cecce6deccebda25c0913da388c
BLAKE2b-256 103402c61030b3414e0ea6d68a24df9b6b83c5f7e4c169f4848ec3fd2a4647dc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruffly_all-0.4.1-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 bece54d876da5ca59df0d1e62d14c4d918533bbb960bbeec5c5d2725f13a8571
MD5 a5aab138d57c52195b309c5cbadf5c5e
BLAKE2b-256 0035e39e2cfdbf4707995da75b3a8a5de81cdea6832c6bc6f7d574b837297fb9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruffly_all-0.4.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b2c7c65dd000f6f915341b5a104064d65eea1901a64ab5278dc4a0b5e42fab78
MD5 af8f1d6f0c00bb5129d3540d4dc63a7b
BLAKE2b-256 a2b01491b0f2df8689c8d56ad60a890ed1a76f5d517445e403ddc9b88b250361

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruffly_all-0.4.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e127ee875bfba20b47c487c3b1663750dc54ec5e09fb524c08dee23998073e25
MD5 d6be7f766c4e6c5b45dbae9330d077af
BLAKE2b-256 abb053c5c29459160c938ae7989f5e323a0e6932234c1e7dc49b587751868855

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