rumdl 0.0.78__py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl → 0.0.80__py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rumdl
3
- Version: 0.0.78
3
+ Version: 0.0.80
4
4
  Classifier: Development Status :: 4 - Beta
5
5
  Classifier: Environment :: Console
6
6
  Classifier: Intended Audience :: Developers
@@ -176,8 +176,8 @@ rumdl check --include "docs/*.md,README.md" .
176
176
  # Combine include and exclude patterns
177
177
  rumdl check --include "docs/**/*.md" --exclude "docs/temp,docs/drafts" .
178
178
 
179
- # Ignore gitignore rules
180
- rumdl check --no-respect-gitignore .
179
+ # Don't respect gitignore files (note: --respect-gitignore defaults to true)
180
+ rumdl check --respect-gitignore=false .
181
181
  ```
182
182
 
183
183
  ## Pre-commit Integration
@@ -235,38 +235,85 @@ rumdl <command> [options] [file or directory...]
235
235
 
236
236
  ### Commands
237
237
 
238
- - `check`: Lint Markdown files and print warnings/errors (main subcommand)
239
- - Options:
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
- - `--no-respect-gitignore`: Don't respect .gitignore files
248
- - `-v, --verbose`: Show detailed output
249
- - `--profile`: Show profiling information
250
- - `-q, --quiet`: Suppress all output except errors
251
-
252
- - `init`: Create a default `.rumdl.toml` configuration file in the current directory
253
- - `--pyproject`: Generate configuration for `pyproject.toml` instead of `.rumdl.toml`
254
-
255
- - `rule [<rule>]`: Show information about a rule or list all rules
256
- - If a rule name or ID is provided, shows details for that rule
257
- - If no argument is given, lists all available rules
258
-
259
- - `config [--defaults]`: Show the full effective configuration (default), or only the defaults.
260
- - `--defaults`: Show only the default configuration as TOML.
261
- - Subcommands:
262
- - `get <key>`: Query a specific config key (e.g. `global.exclude` or `MD013.line_length`)
263
-
264
- - `server`: Start the Language Server Protocol server for editor integration
265
- - `--port <PORT>`: TCP port to listen on (for debugging)
266
- - `--stdio`: Use stdio for communication (default)
267
- - `-v, --verbose`: Enable verbose logging
268
-
269
- - `version`: Show version information
238
+ #### `check [PATHS...]`
239
+
240
+ Lint Markdown files and print warnings/errors (main subcommand)
241
+
242
+ **Arguments:**
243
+ - `[PATHS...]`: Files or directories to lint. If provided, these paths take precedence over include patterns
244
+
245
+ **Options:**
246
+ - `-f, --fix`: Automatically fix issues where possible
247
+ - `-l, --list-rules`: List all available rules
248
+ - `-d, --disable <rules>`: Disable specific rules (comma-separated)
249
+ - `-e, --enable <rules>`: Enable only specific rules (comma-separated)
250
+ - `--exclude <patterns>`: Exclude specific files or directories (comma-separated glob patterns)
251
+ - `--include <patterns>`: Include only specific files or directories (comma-separated glob patterns)
252
+ - `--respect-gitignore`: Respect .gitignore files when scanning directories (does not apply to explicitly provided paths)
253
+ - `-v, --verbose`: Show detailed output
254
+ - `--profile`: Show profiling information
255
+ - `-q, --quiet`: Quiet mode
256
+ - `-o, --output <format>`: Output format: `text` (default) or `json`
257
+ - `--stdin`: Read from stdin instead of files
258
+
259
+ #### `init [OPTIONS]`
260
+
261
+ Create a default configuration file in the current directory
262
+
263
+ **Options:**
264
+ - `--pyproject`: Generate configuration for `pyproject.toml` instead of `.rumdl.toml`
265
+
266
+ #### `import <FILE> [OPTIONS]`
267
+
268
+ Import and convert markdownlint configuration files to rumdl format
269
+
270
+ **Arguments:**
271
+ - `<FILE>`: Path to markdownlint config file (JSON/YAML)
272
+
273
+ **Options:**
274
+ - `-o, --output <path>`: Output file path (default: `.rumdl.toml`)
275
+ - `--format <format>`: Output format: `toml` or `json` (default: `toml`)
276
+ - `--dry-run`: Show converted config without writing to file
277
+
278
+ #### `rule [<rule>]`
279
+
280
+ Show information about a rule or list all rules
281
+
282
+ **Arguments:**
283
+ - `[rule]`: Rule name or ID (optional). If provided, shows details for that rule. If omitted, lists all available rules
284
+
285
+ #### `config [OPTIONS] [COMMAND]`
286
+
287
+ Show configuration or query a specific key
288
+
289
+ **Options:**
290
+ - `--defaults`: Show only the default configuration values
291
+ - `--output <format>`: Output format (e.g. `toml`, `json`)
292
+
293
+ **Subcommands:**
294
+ - `get <key>`: Query a specific config key (e.g. `global.exclude` or `MD013.line_length`)
295
+ - `file`: Show the absolute path of the configuration file that was loaded
296
+
297
+ #### `server [OPTIONS]`
298
+
299
+ Start the Language Server Protocol server for editor integration
300
+
301
+ **Options:**
302
+ - `--port <PORT>`: TCP port to listen on (for debugging)
303
+ - `--stdio`: Use stdio for communication (default)
304
+ - `-v, --verbose`: Enable verbose logging
305
+
306
+ #### `version`
307
+
308
+ Show version information
309
+
310
+ ### Global Options
311
+
312
+ These options are available for all commands:
313
+
314
+ - `--color <mode>`: Control colored output: `auto` (default), `always`, `never`
315
+ - `--config <file>`: Path to configuration file
316
+ - `--no-config`: Ignore all configuration files and use built-in defaults
270
317
 
271
318
  ### Usage Examples
272
319
 
@@ -283,6 +330,15 @@ rumdl init
283
330
  # Create or update a pyproject.toml file with rumdl configuration
284
331
  rumdl init --pyproject
285
332
 
333
+ # Import a markdownlint config file
334
+ rumdl import .markdownlint.json
335
+
336
+ # Convert markdownlint config to JSON format
337
+ rumdl import --format json .markdownlint.yaml --output rumdl-config.json
338
+
339
+ # Preview conversion without writing file
340
+ rumdl import --dry-run .markdownlint.json
341
+
286
342
  # Show information about a specific rule
287
343
  rumdl rule MD013
288
344
 
@@ -292,6 +348,24 @@ rumdl rule
292
348
  # Query a specific config key
293
349
  rumdl config get global.exclude
294
350
 
351
+ # Show the path of the loaded configuration file
352
+ rumdl config file
353
+
354
+ # Show configuration as JSON instead of the default format
355
+ rumdl config --output json
356
+
357
+ # Lint content from stdin
358
+ echo "# My Heading" | rumdl check --stdin
359
+
360
+ # Get JSON output for integration with other tools
361
+ rumdl check --output json README.md
362
+
363
+ # Disable colors in output
364
+ rumdl check --color never README.md
365
+
366
+ # Use built-in defaults, ignoring all config files
367
+ rumdl check --no-config README.md
368
+
295
369
  # Show version information
296
370
  rumdl version
297
371
  ```
@@ -303,6 +377,30 @@ rumdl can be configured in several ways:
303
377
  1. Using a `.rumdl.toml` file in your project directory
304
378
  2. Using the `[tool.rumdl]` section in your project's `pyproject.toml` file (for Python projects)
305
379
  3. Using command-line arguments
380
+ 4. **Automatic markdownlint compatibility**: rumdl automatically discovers and loads existing markdownlint config files (`.markdownlint.json`, `.markdownlint.yaml`, etc.)
381
+
382
+ ### Markdownlint Migration
383
+
384
+ rumdl provides seamless compatibility with existing markdownlint configurations:
385
+
386
+ **Automatic Discovery**: rumdl automatically detects and loads markdownlint config files:
387
+ - `.markdownlint.json` / `.markdownlint.jsonc`
388
+ - `.markdownlint.yaml` / `.markdownlint.yml`
389
+ - `markdownlint.json` / `markdownlint.yaml`
390
+
391
+ **Explicit Import**: Convert markdownlint configs to rumdl format:
392
+ ```bash
393
+ # Convert to .rumdl.toml
394
+ rumdl import .markdownlint.json
395
+
396
+ # Convert to JSON format
397
+ rumdl import --format json .markdownlint.yaml --output config.json
398
+
399
+ # Preview conversion
400
+ rumdl import --dry-run .markdownlint.json
401
+ ```
402
+
403
+ For comprehensive documentation on global settings (file selection, rule enablement, etc.), see our [Global Settings Reference](docs/global-settings.md).
306
404
 
307
405
  ### Configuration File Example
308
406
 
@@ -455,10 +553,12 @@ Run with `--fix` to automatically fix issues
455
553
 
456
554
  ### Output Format
457
555
 
556
+ #### Text Output (Default)
557
+
458
558
  rumdl uses a consistent output format for all issues:
459
559
 
460
560
  ```text
461
- {file}:{line}:{column}: [{rule*id}] {message} [{fix*indicator}]
561
+ {file}:{line}:{column}: [{rule_id}] {message} [{fix_indicator}]
462
562
  ```
463
563
 
464
564
  The output is colorized by default:
@@ -470,6 +570,42 @@ The output is colorized by default:
470
570
  - Fixable issues are marked with `[*]` in green
471
571
  - Fixed issues are marked with `[fixed]` in green
472
572
 
573
+ #### JSON Output
574
+
575
+ For integration with other tools and automation, use `--output json`:
576
+
577
+ ```bash
578
+ rumdl check --output json README.md
579
+ ```
580
+
581
+ This produces structured JSON output:
582
+
583
+ ```json
584
+ {
585
+ "summary": {
586
+ "total_files": 1,
587
+ "files_with_issues": 1,
588
+ "total_issues": 2,
589
+ "fixable_issues": 1
590
+ },
591
+ "files": [
592
+ {
593
+ "path": "README.md",
594
+ "issues": [
595
+ {
596
+ "line": 12,
597
+ "column": 1,
598
+ "rule": "MD022",
599
+ "message": "Headings should be surrounded by blank lines",
600
+ "fixable": true,
601
+ "severity": "error"
602
+ }
603
+ ]
604
+ }
605
+ ]
606
+ }
607
+ ```
608
+
473
609
  ## Development
474
610
 
475
611
  ### Prerequisites
@@ -0,0 +1,7 @@
1
+ python/rumdl/__init__.py,sha256=En6tBgSj-MMeUcBAV7HlMjfstzY6npWxZtsRa30hIj0,90
2
+ python/rumdl/__main__.py,sha256=DQ-es4rlJ-iiHUeoTruvZzp-YV6rGShOWZYN4zBx_Iw,1903
3
+ python/rumdl/py.typed,sha256=Nqnn8clbgv-5l0PgxcTOldg8mkMKrFn4TvPL-rYUUGg,1
4
+ rumdl-0.0.80.data/scripts/rumdl,sha256=r8_5vN17ZmeU1_lK5lnSTGN0R8xcC6KT_pImokAAdfE,9067048
5
+ rumdl-0.0.80.dist-info/METADATA,sha256=dzbJqx2SyBYU6PUrCb15YWlUTTnLD215ZhbOWowRoIg,18781
6
+ rumdl-0.0.80.dist-info/WHEEL,sha256=2_kQu7PuL9CpDUYSCH1AxZfiJRPsvzmckb1o2gyaPDo,128
7
+ rumdl-0.0.80.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- python/rumdl/__init__.py,sha256=En6tBgSj-MMeUcBAV7HlMjfstzY6npWxZtsRa30hIj0,90
2
- python/rumdl/__main__.py,sha256=DQ-es4rlJ-iiHUeoTruvZzp-YV6rGShOWZYN4zBx_Iw,1903
3
- python/rumdl/py.typed,sha256=Nqnn8clbgv-5l0PgxcTOldg8mkMKrFn4TvPL-rYUUGg,1
4
- rumdl-0.0.78.data/scripts/rumdl,sha256=x_PBMvzBKdJP7wXb7YXpcg8j4zP-e3mETVIZg4zmi5c,8933024
5
- rumdl-0.0.78.dist-info/METADATA,sha256=yvHWaFcUd39SR0WfKtzDVS14TUPCxvn_3CnJr2TOFYM,15360
6
- rumdl-0.0.78.dist-info/WHEEL,sha256=2_kQu7PuL9CpDUYSCH1AxZfiJRPsvzmckb1o2gyaPDo,128
7
- rumdl-0.0.78.dist-info/RECORD,,
File without changes