rumdl 0.0.164__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.164
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)
@@ -372,7 +382,7 @@ This produces annotations that GitHub automatically displays in the PR's "Files
372
382
 
373
383
  ## Rules
374
384
 
375
- 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:
376
386
 
377
387
  | Category | Description | Example Rules |
378
388
  | -----------|-------------|--------------- |
@@ -427,7 +437,7 @@ Lint Markdown files and print warnings/errors (main subcommand)
427
437
 
428
438
  #### `fmt [PATHS...]`
429
439
 
430
- 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.
431
441
 
432
442
  **Arguments:**
433
443
 
@@ -534,13 +544,12 @@ These options are available for all commands:
534
544
 
535
545
  ### Exit Codes
536
546
 
537
- rumdl uses exit codes following Ruff's convention for easy CI/CD integration:
538
-
539
- - `0`: Success - no issues found
540
- - `1`: Linting violations found
541
- - `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
542
550
 
543
- 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.
544
553
 
545
554
  ### Usage Examples
546
555
 
@@ -548,9 +557,11 @@ This allows scripts and CI/CD systems to distinguish between "the tool found pro
548
557
  # Lint all Markdown files in the current directory
549
558
  rumdl check .
550
559
 
551
- # Format files (automatically fix issues)
560
+ # Format files (exits 0 on success, even if unfixable violations remain)
552
561
  rumdl fmt .
553
- # Alternative: rumdl check --fix .
562
+
563
+ # Auto-fix and report unfixable violations (exits 1 if violations remain)
564
+ rumdl check --fix .
554
565
 
555
566
  # Preview what would be fixed without modifying files
556
567
  rumdl check --diff .
@@ -941,7 +952,7 @@ This produces structured JSON output:
941
952
 
942
953
  ### Prerequisites
943
954
 
944
- - Rust 1.70 or higher
955
+ - Rust 1.91 or higher
945
956
  - Make (for development commands)
946
957
 
947
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.164.data/scripts/rumdl,sha256=xJrcpbTPp4okLu6E7TIFmTpP-1la41w_-VM5Ias4KAs,5163056
2
- rumdl-0.0.164.dist-info/METADATA,sha256=e3r0vQ_oYyMpzWIg6OcLCuJ0UE8T4IMglzzLtVZhFo0,30047
3
- rumdl-0.0.164.dist-info/WHEEL,sha256=gFUeb0K5OKVu-_PxYk7JE9tGE1KIHHvhpIzf61gKVd8,101
4
- rumdl-0.0.164.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.164.dist-info/RECORD,,