rumdl 0.0.43__py3-none-macosx_11_0_arm64.whl → 0.0.46__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.
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rumdl
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.46
|
|
4
4
|
Classifier: Development Status :: 4 - Beta
|
|
5
5
|
Classifier: Environment :: Console
|
|
6
6
|
Classifier: Intended Audience :: Developers
|
|
@@ -62,7 +62,8 @@ Project-URL: Repository, https://github.com/rvben/rumdl.git
|
|
|
62
62
|
- [Rules](#rules)
|
|
63
63
|
- [Command-line Interface](#command-line-interface)
|
|
64
64
|
- [Commands](#commands)
|
|
65
|
-
- [Options](#options)
|
|
65
|
+
- [Options (for `check`)](#options-for-check)
|
|
66
|
+
- [Example Help Output](#example-help-output)
|
|
66
67
|
- [Configuration](#configuration)
|
|
67
68
|
- [Configuration File Example](#configuration-file-example)
|
|
68
69
|
- [Initializing Configuration](#initializing-configuration)
|
|
@@ -82,11 +83,11 @@ Project-URL: Repository, https://github.com/rvben/rumdl.git
|
|
|
82
83
|
# Install using Cargo
|
|
83
84
|
cargo install rumdl
|
|
84
85
|
|
|
85
|
-
#
|
|
86
|
-
rumdl .
|
|
86
|
+
# Lint Markdown files in the current directory
|
|
87
|
+
rumdl check .
|
|
87
88
|
|
|
88
89
|
# Automatically fix issues
|
|
89
|
-
rumdl --fix .
|
|
90
|
+
rumdl check --fix .
|
|
90
91
|
|
|
91
92
|
# Create a default configuration file
|
|
92
93
|
rumdl init
|
|
@@ -138,14 +139,14 @@ Expand-Archive -Path "rumdl.zip" -DestinationPath "$env:USERPROFILE\.rumdl"
|
|
|
138
139
|
Getting started with rumdl is simple:
|
|
139
140
|
|
|
140
141
|
```bash
|
|
141
|
-
#
|
|
142
|
-
rumdl README.md
|
|
142
|
+
# Lint a single file
|
|
143
|
+
rumdl check README.md
|
|
143
144
|
|
|
144
|
-
#
|
|
145
|
-
rumdl .
|
|
145
|
+
# Lint all Markdown files in current directory and subdirectories
|
|
146
|
+
rumdl check .
|
|
146
147
|
|
|
147
148
|
# Automatically fix issues
|
|
148
|
-
rumdl --fix README.md
|
|
149
|
+
rumdl check --fix README.md
|
|
149
150
|
|
|
150
151
|
# Create a default configuration file
|
|
151
152
|
rumdl init
|
|
@@ -154,26 +155,26 @@ rumdl init
|
|
|
154
155
|
Common usage examples:
|
|
155
156
|
|
|
156
157
|
```bash
|
|
157
|
-
#
|
|
158
|
-
rumdl --config my-config.toml docs/
|
|
158
|
+
# Lint with custom configuration
|
|
159
|
+
rumdl check --config my-config.toml docs/
|
|
159
160
|
|
|
160
161
|
# Disable specific rules
|
|
161
|
-
rumdl --disable MD013,MD033 README.md
|
|
162
|
+
rumdl check --disable MD013,MD033 README.md
|
|
162
163
|
|
|
163
164
|
# Enable only specific rules
|
|
164
|
-
rumdl --enable MD001,MD003 README.md
|
|
165
|
+
rumdl check --enable MD001,MD003 README.md
|
|
165
166
|
|
|
166
167
|
# Exclude specific files/directories
|
|
167
|
-
rumdl --exclude "node_modules,dist" .
|
|
168
|
+
rumdl check --exclude "node_modules,dist" .
|
|
168
169
|
|
|
169
170
|
# Include only specific files/directories
|
|
170
|
-
rumdl --include "docs/*.md,README.md" .
|
|
171
|
+
rumdl check --include "docs/*.md,README.md" .
|
|
171
172
|
|
|
172
173
|
# Combine include and exclude patterns
|
|
173
|
-
rumdl --include "docs/**/*.md" --exclude "docs/temp,docs/drafts" .
|
|
174
|
+
rumdl check --include "docs/**/*.md" --exclude "docs/temp,docs/drafts" .
|
|
174
175
|
|
|
175
176
|
# Ignore gitignore rules
|
|
176
|
-
rumdl --no-respect-gitignore .
|
|
177
|
+
rumdl check --no-respect-gitignore .
|
|
177
178
|
```
|
|
178
179
|
|
|
179
180
|
## Rules
|
|
@@ -199,18 +200,18 @@ rumdl --list-rules
|
|
|
199
200
|
## Command-line Interface
|
|
200
201
|
|
|
201
202
|
```bash
|
|
202
|
-
rumdl [options] [file or directory...]
|
|
203
|
-
rumdl <command> [options]
|
|
203
|
+
rumdl <command> [options] [file or directory...]
|
|
204
204
|
```
|
|
205
205
|
|
|
206
206
|
### Commands
|
|
207
207
|
|
|
208
|
+
- `check`: Lint Markdown files and print warnings/errors (main subcommand)
|
|
208
209
|
- `init`: Create a default `.rumdl.toml` configuration file in the current directory
|
|
209
210
|
|
|
210
|
-
### Options
|
|
211
|
+
### Options (for `check`)
|
|
211
212
|
|
|
212
213
|
- `-c, --config <file>`: Use custom configuration file
|
|
213
|
-
-
|
|
214
|
+
- `--fix`: Automatically fix issues where possible
|
|
214
215
|
- `-l, --list-rules`: List all available rules
|
|
215
216
|
- `-d, --disable <rules>`: Disable specific rules (comma-separated)
|
|
216
217
|
- `-e, --enable <rules>`: Enable only specific rules (comma-separated)
|
|
@@ -218,8 +219,31 @@ rumdl <command> [options]
|
|
|
218
219
|
- `--include <patterns>`: Include only specific files or directories (comma-separated glob patterns)
|
|
219
220
|
- `--respect-gitignore`: Respect .gitignore files when scanning directories (default: true)
|
|
220
221
|
- `--no-respect-gitignore`: Don't respect .gitignore files (same as --ignore-gitignore)
|
|
221
|
-
- `--ignore-gitignore`: Ignore .gitignore files when scanning directories (deprecated, use --no-respect-gitignore)
|
|
222
222
|
- `-v, --verbose`: Show detailed output
|
|
223
|
+
- `--profile`: Show profiling information
|
|
224
|
+
- `-q, --quiet`: Suppress all output except errors
|
|
225
|
+
|
|
226
|
+
### Example Help Output
|
|
227
|
+
|
|
228
|
+
```bash
|
|
229
|
+
rumdl --help
|
|
230
|
+
|
|
231
|
+
Usage: rumdl <COMMAND> [OPTIONS] [PATHS...]
|
|
232
|
+
|
|
233
|
+
Commands:
|
|
234
|
+
check Lint Markdown files and print warnings/errors
|
|
235
|
+
init Create a default configuration file
|
|
236
|
+
|
|
237
|
+
Options (for 'check' subcommand):
|
|
238
|
+
--fix Automatically fix fixable issues
|
|
239
|
+
--rules <RULES> Comma-separated list of rules to enable
|
|
240
|
+
--config <FILE> Path to configuration file
|
|
241
|
+
--format <FORMAT> Output format (default: text)
|
|
242
|
+
--help Print help information
|
|
243
|
+
--version Print version information
|
|
244
|
+
|
|
245
|
+
If no command is given, 'check' is assumed (deprecated).
|
|
246
|
+
```
|
|
223
247
|
|
|
224
248
|
## Configuration
|
|
225
249
|
|
|
@@ -369,23 +393,30 @@ make test
|
|
|
369
393
|
|
|
370
394
|
## Using rumdl with pre-commit
|
|
371
395
|
|
|
372
|
-
You can use `rumdl` as a pre-commit hook
|
|
396
|
+
You can use `rumdl` as a pre-commit hook to check and fix your Markdown files.
|
|
397
|
+
|
|
398
|
+
The recommended way is to use the official pre-commit hook repository:
|
|
399
|
+
|
|
400
|
+
https://github.com/rvben/rumdl-pre-commit
|
|
373
401
|
|
|
374
402
|
Add the following to your `.pre-commit-config.yaml`:
|
|
375
403
|
|
|
376
404
|
```yaml
|
|
377
405
|
repos:
|
|
378
|
-
-
|
|
379
|
-
rev: v0.0.
|
|
406
|
+
- repo: https://github.com/rvben/rumdl-pre-commit
|
|
407
|
+
rev: v0.0.45 # Use the latest release tag
|
|
380
408
|
hooks:
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
409
|
+
- id: rumdl
|
|
410
|
+
# To only check (default):
|
|
411
|
+
# args: []
|
|
412
|
+
# To automatically fix issues:
|
|
413
|
+
# args: [--fix]
|
|
384
414
|
```
|
|
385
415
|
|
|
386
|
-
|
|
416
|
+
- By default, the hook will only check for issues.
|
|
417
|
+
- To automatically fix issues, add `args: [--fix]` to the hook configuration.
|
|
387
418
|
|
|
388
|
-
|
|
419
|
+
When you run `pre-commit install` or `pre-commit run`, pre-commit will automatically install `rumdl` in an isolated Python environment using pip. You do **not** need to install rumdl manually.
|
|
389
420
|
|
|
390
421
|
## License
|
|
391
422
|
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
rumdl-0.0.46.dist-info/METADATA,sha256=inXL6dAzWE9m6K6_iM2tl6ssCqRriJb-Gcq00bXxDGA,13173
|
|
2
|
+
rumdl-0.0.46.dist-info/WHEEL,sha256=BIHewG3xDASNrCQSw936TG4pT5uL1AnxgJ7f_yNgUy0,101
|
|
3
|
+
python/rumdl/__init__.py,sha256=En6tBgSj-MMeUcBAV7HlMjfstzY6npWxZtsRa30hIj0,90
|
|
4
|
+
python/rumdl/py.typed,sha256=Nqnn8clbgv-5l0PgxcTOldg8mkMKrFn4TvPL-rYUUGg,1
|
|
5
|
+
python/rumdl/__main__.py,sha256=DQ-es4rlJ-iiHUeoTruvZzp-YV6rGShOWZYN4zBx_Iw,1903
|
|
6
|
+
rumdl-0.0.46.data/scripts/rumdl,sha256=qiFH4J6g8W6pMbwFRZh2ubH2L7j_rYajLSP3AkgU-6M,4516416
|
|
7
|
+
rumdl-0.0.46.dist-info/RECORD,,
|
rumdl-0.0.43.dist-info/RECORD
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
rumdl-0.0.43.dist-info/METADATA,sha256=kGlwCvUQn3l-o68ZSniyQn5SrmPyRuvMxdzt3dSaOyk,12117
|
|
2
|
-
rumdl-0.0.43.dist-info/WHEEL,sha256=BIHewG3xDASNrCQSw936TG4pT5uL1AnxgJ7f_yNgUy0,101
|
|
3
|
-
python/rumdl/__init__.py,sha256=En6tBgSj-MMeUcBAV7HlMjfstzY6npWxZtsRa30hIj0,90
|
|
4
|
-
python/rumdl/py.typed,sha256=Nqnn8clbgv-5l0PgxcTOldg8mkMKrFn4TvPL-rYUUGg,1
|
|
5
|
-
python/rumdl/__main__.py,sha256=DQ-es4rlJ-iiHUeoTruvZzp-YV6rGShOWZYN4zBx_Iw,1903
|
|
6
|
-
rumdl-0.0.43.data/scripts/rumdl,sha256=Tingd0HG5UipqFka9xPBxd_uX1kLtoxtXXdZsgu1eUw,4483328
|
|
7
|
-
rumdl-0.0.43.dist-info/RECORD,,
|
|
File without changes
|