rumdl 0.0.48__py3-none-macosx_11_0_arm64.whl → 0.0.51__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rumdl
3
- Version: 0.0.48
3
+ Version: 0.0.51
4
4
  Classifier: Development Status :: 4 - Beta
5
5
  Classifier: Environment :: Console
6
6
  Classifier: Intended Audience :: Developers
@@ -63,12 +63,14 @@ Project-URL: Repository, https://github.com/rvben/rumdl.git
63
63
  - [Rules](#rules)
64
64
  - [Command-line Interface](#command-line-interface)
65
65
  - [Commands](#commands)
66
- - [Options (for `check`)](#options-for-check)
67
- - [Example Help Output](#example-help-output)
66
+ - [Usage Examples](#usage-examples)
68
67
  - [Configuration](#configuration)
69
68
  - [Configuration File Example](#configuration-file-example)
70
69
  - [Initializing Configuration](#initializing-configuration)
71
70
  - [Configuration in pyproject.toml](#configuration-in-pyprojecttoml)
71
+ - [Configuration Output](#configuration-output)
72
+ - [Effective Configuration (`rumdl config`)](#effective-configuration-rumdl-config)
73
+ - [Defaults Only (`rumdl config --defaults`)](#defaults-only-rumdl-config---defaults)
72
74
  - [Output Style](#output-style)
73
75
  - [Output Format](#output-format)
74
76
  - [Development](#development)
@@ -233,43 +235,59 @@ rumdl <command> [options] [file or directory...]
233
235
  ### Commands
234
236
 
235
237
  - `check`: Lint Markdown files and print warnings/errors (main subcommand)
238
+ - Options:
239
+ - `-c, --config <file>`: Use custom configuration file
240
+ - `--fix`: Automatically fix issues where possible
241
+ - `-l, --list-rules`: List all available rules
242
+ - `-d, --disable <rules>`: Disable specific rules (comma-separated)
243
+ - `-e, --enable <rules>`: Enable only specific rules (comma-separated)
244
+ - `--exclude <patterns>`: Exclude specific files or directories (comma-separated glob patterns)
245
+ - `--include <patterns>`: Include only specific files or directories (comma-separated glob patterns)
246
+ - `--no-respect-gitignore`: Don't respect .gitignore files
247
+ - `-v, --verbose`: Show detailed output
248
+ - `--profile`: Show profiling information
249
+ - `-q, --quiet`: Suppress all output except errors
250
+
236
251
  - `init`: Create a default `.rumdl.toml` configuration file in the current directory
252
+ - `--pyproject`: Generate configuration for `pyproject.toml` instead of `.rumdl.toml`
253
+
254
+ - `rule [<rule>]`: Show information about a rule or list all rules
255
+ - If a rule name or ID is provided, shows details for that rule
256
+ - If no argument is given, lists all available rules
237
257
 
238
- ### Options (for `check`)
258
+ - `config [--defaults]`: Show the full effective configuration (default), or only the defaults.
259
+ - `--defaults`: Show only the default configuration as TOML.
260
+ - Subcommands:
261
+ - `get <key>`: Query a specific config key (e.g. `global.exclude` or `MD013.line_length`)
239
262
 
240
- - `-c, --config <file>`: Use custom configuration file
241
- - `--fix`: Automatically fix issues where possible
242
- - `-l, --list-rules`: List all available rules
243
- - `-d, --disable <rules>`: Disable specific rules (comma-separated)
244
- - `-e, --enable <rules>`: Enable only specific rules (comma-separated)
245
- - `--exclude <patterns>`: Exclude specific files or directories (comma-separated glob patterns)
246
- - `--include <patterns>`: Include only specific files or directories (comma-separated glob patterns)
247
- - `--respect-gitignore`: Respect .gitignore files when scanning directories (default: true)
248
- - `--no-respect-gitignore`: Don't respect .gitignore files (same as --ignore-gitignore)
249
- - `-v, --verbose`: Show detailed output
250
- - `--profile`: Show profiling information
251
- - `-q, --quiet`: Suppress all output except errors
263
+ - `version`: Show version information
252
264
 
253
- ### Example Help Output
265
+ ### Usage Examples
254
266
 
255
267
  ```bash
256
- rumdl --help
268
+ # Lint all Markdown files in the current directory
269
+ rumdl check .
270
+
271
+ # Automatically fix issues
272
+ rumdl check --fix .
273
+
274
+ # Create a default configuration file
275
+ rumdl init
276
+
277
+ # Create or update a pyproject.toml file with rumdl configuration
278
+ rumdl init --pyproject
257
279
 
258
- Usage: rumdl <COMMAND> [OPTIONS] [PATHS...]
280
+ # Show information about a specific rule
281
+ rumdl rule MD013
259
282
 
260
- Commands:
261
- check Lint Markdown files and print warnings/errors
262
- init Create a default configuration file
283
+ # List all available rules
284
+ rumdl rule
263
285
 
264
- Options (for 'check' subcommand):
265
- --fix Automatically fix fixable issues
266
- --rules <RULES> Comma-separated list of rules to enable
267
- --config <FILE> Path to configuration file
268
- --format <FORMAT> Output format (default: text)
269
- --help Print help information
270
- --version Print version information
286
+ # Query a specific config key
287
+ rumdl config get global.exclude
271
288
 
272
- If no command is given, 'check' is assumed (deprecated).
289
+ # Show version information
290
+ rumdl version
273
291
  ```
274
292
 
275
293
  ## Configuration
@@ -349,6 +367,51 @@ names = ["rumdl", "Markdown", "GitHub"]
349
367
 
350
368
  Both kebab-case (`line-length`, `ignore-gitignore`) and snake_case (`line_length`, `ignore_gitignore`) formats are supported for compatibility with different Python tooling conventions.
351
369
 
370
+ ### Configuration Output
371
+
372
+ #### Effective Configuration (`rumdl config`)
373
+
374
+ The `rumdl config` command prints the **full effective configuration** (defaults + all overrides), showing every key and its value, annotated with the source of each value. The output is colorized and the `[from ...]` annotation is globally aligned for easy scanning.
375
+
376
+ **Example output:**
377
+
378
+ ```text
379
+ [global]
380
+ enable = [] [from default]
381
+ disable = ["MD033"] [from .rumdl.toml]
382
+ include = ["README.md"] [from .rumdl.toml]
383
+ respect_gitignore = true [from .rumdl.toml]
384
+
385
+ [MD013]
386
+ line_length = 200 [from .rumdl.toml]
387
+ code_blocks = true [from .rumdl.toml]
388
+ ...
389
+ ```
390
+ - **Keys** are cyan, **values** are yellow, and the `[from ...]` annotation is colored by source:
391
+ - Green: CLI
392
+ - Blue: `.rumdl.toml`
393
+ - Magenta: `pyproject.toml`
394
+ - Yellow: default
395
+ - The `[from ...]` column is aligned across all sections.
396
+
397
+ #### Defaults Only (`rumdl config --defaults`)
398
+
399
+ The `--defaults` flag prints only the default configuration as TOML, suitable for copy-paste or reference:
400
+
401
+ ```toml
402
+ [global]
403
+ enable = []
404
+ disable = []
405
+ exclude = []
406
+ include = []
407
+ respect_gitignore = true
408
+
409
+ [MD013]
410
+ line_length = 80
411
+ code_blocks = true
412
+ ...
413
+ ```
414
+
352
415
  ## Output Style
353
416
 
354
417
  rumdl produces clean, colorized output similar to modern linting tools:
@@ -0,0 +1,7 @@
1
+ rumdl-0.0.51.dist-info/METADATA,sha256=rq6kXABQC8uhz1fbcOiU3UWdDgy1onqbUCKauK_dS-A,15097
2
+ rumdl-0.0.51.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.51.data/scripts/rumdl,sha256=MGcr4igCvfennK_B9ql7o7m0ZBVX_XWAfVh7IuXsL5w,4756176
7
+ rumdl-0.0.51.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- rumdl-0.0.48.dist-info/METADATA,sha256=Vhs5bN4jkDpP87p73k5Gl0xj0X2neFyf3bPfQm_7-8E,13189
2
- rumdl-0.0.48.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.48.data/scripts/rumdl,sha256=V6BrPlgMk2mh58DpDIryqTYSNW5r81AEfwP0EtfDdgg,4723712
7
- rumdl-0.0.48.dist-info/RECORD,,
File without changes