rumdl 0.0.162__py3-none-macosx_11_0_arm64.whl → 0.0.171__py3-none-macosx_11_0_arm64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of rumdl might be problematic. Click here for more details.

Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rumdl
3
- Version: 0.0.162
3
+ Version: 0.0.171
4
4
  Classifier: Development Status :: 4 - Beta
5
5
  Classifier: Environment :: Console
6
6
  Classifier: Intended Audience :: Developers
@@ -52,9 +52,11 @@ cargo install rumdl
52
52
  # Lint Markdown files in the current directory
53
53
  rumdl check .
54
54
 
55
- # Format files (automatically fix issues)
55
+ # Format files (exits 0 on success, even if unfixable violations remain)
56
56
  rumdl fmt .
57
- # Alternative: rumdl check --fix .
57
+
58
+ # Auto-fix and report unfixable violations (exits 1 if violations remain)
59
+ rumdl check --fix .
58
60
 
59
61
  # Create a default configuration file
60
62
  rumdl init
@@ -68,7 +70,7 @@ Python linting, rumdl brings similar speed and developer experience improvements
68
70
  It offers:
69
71
 
70
72
  - ⚡️ **Built for speed** with Rust - significantly faster than alternatives
71
- - 🔍 **54 lint rules** covering common Markdown issues
73
+ - 🔍 **55 lint rules** covering common Markdown issues
72
74
  - 🛠️ **Automatic formatting** with `--fix` for files and stdin/stdout
73
75
  - 📦 **Zero dependencies** - single binary with no runtime requirements
74
76
  - 🔧 **Highly configurable** with TOML-based config files
@@ -77,6 +79,14 @@ It offers:
77
79
  - 📏 **Modern CLI** with detailed error reporting
78
80
  - 🔄 **CI/CD friendly** with non-zero exit code on errors
79
81
 
82
+ ### Performance
83
+
84
+ rumdl is designed for speed. Benchmarked on the [Rust Book](https://github.com/rust-lang/book) repository (478 markdown files, October 2025):
85
+
86
+ ![Cold start benchmark comparison](assets/benchmark.svg)
87
+
88
+ With intelligent caching, subsequent runs are even faster - rumdl only re-lints files that have changed, making it ideal for watch mode and editor integration.
89
+
80
90
  ## Table of Contents
81
91
 
82
92
  - [rumdl - A high-performance Markdown linter, written in Rust](#rumdl---a-high-performance-markdown-linter-written-in-rust)
@@ -172,6 +182,19 @@ uv tool install rumdl
172
182
  uv tool run rumdl check .
173
183
  ```
174
184
 
185
+ ### Using Nix (macOS/Linux)
186
+
187
+ ```bash
188
+ nix-channel --update
189
+ nix-env --install --attr nixpkgs.rumdl
190
+ ```
191
+
192
+ Alternatively, you can use flakes to run it without installation.
193
+
194
+ ```bash
195
+ nix run --extra-experimental-features 'flakes nix-command' nixpkgs/nixpkgs-unstable#rumdl -- --version
196
+ ```
197
+
175
198
  ### Download binary
176
199
 
177
200
  ```bash
@@ -359,7 +382,7 @@ This produces annotations that GitHub automatically displays in the PR's "Files
359
382
 
360
383
  ## Rules
361
384
 
362
- rumdl implements 54 lint rules for Markdown files. Here are some key rule categories:
385
+ rumdl implements 55 lint rules for Markdown files. Here are some key rule categories:
363
386
 
364
387
  | Category | Description | Example Rules |
365
388
  | -----------|-------------|--------------- |
@@ -414,7 +437,7 @@ Lint Markdown files and print warnings/errors (main subcommand)
414
437
 
415
438
  #### `fmt [PATHS...]`
416
439
 
417
- Format Markdown files (alias for `check --fix`)
440
+ Format Markdown files and output the result. Always exits with code 0 on successful formatting, making it ideal for editor integration.
418
441
 
419
442
  **Arguments:**
420
443
 
@@ -521,13 +544,12 @@ These options are available for all commands:
521
544
 
522
545
  ### Exit Codes
523
546
 
524
- rumdl uses exit codes following Ruff's convention for easy CI/CD integration:
525
-
526
- - `0`: Success - no issues found
527
- - `1`: Linting violations found
528
- - `2`: Tool error (configuration error, file access error, invalid arguments, etc.)
547
+ - `0`: Success
548
+ - `1`: Violations found (or remain after `--fix`)
549
+ - `2`: Tool error
529
550
 
530
- This allows scripts and CI/CD systems to distinguish between "the tool found problems in your files" (exit 1) and "the tool couldn't run properly" (exit 2).
551
+ **Note:** `rumdl fmt` exits 0 on successful formatting (even if unfixable violations remain), making it compatible with editor integrations. `rumdl check --fix` exits 1 if violations remain, useful
552
+ for pre-commit hooks.
531
553
 
532
554
  ### Usage Examples
533
555
 
@@ -535,9 +557,11 @@ This allows scripts and CI/CD systems to distinguish between "the tool found pro
535
557
  # Lint all Markdown files in the current directory
536
558
  rumdl check .
537
559
 
538
- # Format files (automatically fix issues)
560
+ # Format files (exits 0 on success, even if unfixable violations remain)
539
561
  rumdl fmt .
540
- # Alternative: rumdl check --fix .
562
+
563
+ # Auto-fix and report unfixable violations (exits 1 if violations remain)
564
+ rumdl check --fix .
541
565
 
542
566
  # Preview what would be fixed without modifying files
543
567
  rumdl check --diff .
@@ -928,7 +952,7 @@ This produces structured JSON output:
928
952
 
929
953
  ### Prerequisites
930
954
 
931
- - Rust 1.70 or higher
955
+ - Rust 1.91 or higher
932
956
  - Make (for development commands)
933
957
 
934
958
  ### Building
@@ -0,0 +1,8 @@
1
+ rumdl-0.0.171.data/scripts/rumdl,sha256=ooYwNEqhLbVullb9OtmfKUwRjX9nFgjAnO3S9ZKJNHs,5081056
2
+ rumdl-0.0.171.dist-info/METADATA,sha256=oOZOiqyVk9aMwEcR5YIopl_o1dWM0ZKc98woySsaqK0,30614
3
+ rumdl-0.0.171.dist-info/WHEEL,sha256=gFUeb0K5OKVu-_PxYk7JE9tGE1KIHHvhpIzf61gKVd8,101
4
+ rumdl-0.0.171.dist-info/licenses/LICENSE,sha256=Ux7uE0WuoLktCyy3w5lLIz3_6dc47R0qauPN30mz13M,1079
5
+ rumdl/__init__.py,sha256=Al8fdAo1nixifQiBrXvQtGY-4071FS73uJbLEBAWlYY,267
6
+ rumdl/__main__.py,sha256=6JiDzauqRloCD8LQ_edF-T_RHmoiTWLyMvHjqARL05s,1879
7
+ rumdl/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
+ rumdl-0.0.171.dist-info/RECORD,,
Binary file
@@ -1,8 +0,0 @@
1
- rumdl-0.0.162.data/scripts/rumdl,sha256=l3wy2sb7MRlsP72d7XVZIZUi0oXAlTyTXeMPiP0uBFs,5129616
2
- rumdl-0.0.162.dist-info/METADATA,sha256=RyNCUhu53-1vbnQHJkOyYOiCcfRWrKGev4TvlG2jeb0,29762
3
- rumdl-0.0.162.dist-info/WHEEL,sha256=gFUeb0K5OKVu-_PxYk7JE9tGE1KIHHvhpIzf61gKVd8,101
4
- rumdl-0.0.162.dist-info/licenses/LICENSE,sha256=Ux7uE0WuoLktCyy3w5lLIz3_6dc47R0qauPN30mz13M,1079
5
- rumdl/__init__.py,sha256=Al8fdAo1nixifQiBrXvQtGY-4071FS73uJbLEBAWlYY,267
6
- rumdl/__main__.py,sha256=6JiDzauqRloCD8LQ_edF-T_RHmoiTWLyMvHjqARL05s,1879
7
- rumdl/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
- rumdl-0.0.162.dist-info/RECORD,,