RubyGems Navigation menu

isort 0.2.1

isort automatically sorts and organizes import statements in Ruby files. It groups imports into sections (stdlib, third-party, first-party, local), sorts alphabetically within each section, removes duplicates, and preserves comments. Supports require, require_relative, include, extend, autoload, and using statements. Features include: check mode for CI integration, diff preview, atomic mode with syntax validation, skip directives for fine-grained control, and recursive directory processing. Inspired by Python's isort.

Gemfile:
=

install:
=

Versions:

  1. 0.2.1 January 03, 2026 (35 KB)
  2. 0.2.0 January 03, 2026 (12.5 KB)
  3. 0.1.5 December 29, 2024 (9.5 KB)
  4. 0.1.4 December 29, 2024 (9 KB)
  5. 0.1.3 December 28, 2024 (9 KB)

Runtime Dependencies (1):

optparse ~> 0.2.0

Development Dependencies (3):

bundler ~> 2.0
rake ~> 13.0
rspec ~> 3.0

Owners:

Pushed by:

Authors:

  • abhinvv1

SHA 256 checksum:

=

Total downloads 1,140

For this version 122

Version Released:

License:

MIT

Required Ruby Version: >= 2.6.0

Links: