linthis 0.0.7__py3-none-win_amd64.whl → 0.0.8__py3-none-win_amd64.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: linthis
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.8
|
|
4
4
|
Classifier: Development Status :: 3 - Alpha
|
|
5
5
|
Classifier: Environment :: Console
|
|
6
6
|
Classifier: Intended Audience :: Developers
|
|
@@ -152,15 +152,16 @@ linthis plugin add --global <alias> <git-url>
|
|
|
152
152
|
|
|
153
153
|
### Use Plugin
|
|
154
154
|
|
|
155
|
+
Plugins are automatically loaded when running linthis. After adding a plugin:
|
|
156
|
+
|
|
155
157
|
```bash
|
|
156
|
-
#
|
|
157
|
-
linthis
|
|
158
|
-
linthis --plugin myplugin
|
|
158
|
+
# Plugin configs are auto-loaded
|
|
159
|
+
linthis
|
|
159
160
|
|
|
160
161
|
# Combine with other options
|
|
161
|
-
linthis -
|
|
162
|
-
linthis --
|
|
163
|
-
linthis --
|
|
162
|
+
linthis -l python -i src/
|
|
163
|
+
linthis --check-only
|
|
164
|
+
linthis --staged
|
|
164
165
|
```
|
|
165
166
|
|
|
166
167
|
### Remove Plugin
|
|
@@ -188,8 +189,9 @@ linthis plugin list
|
|
|
188
189
|
linthis plugin list -g
|
|
189
190
|
linthis plugin list --global
|
|
190
191
|
|
|
191
|
-
#
|
|
192
|
-
linthis
|
|
192
|
+
# Sync (update) plugins
|
|
193
|
+
linthis plugin sync # Sync local plugins
|
|
194
|
+
linthis plugin sync --global # Sync global plugins
|
|
193
195
|
|
|
194
196
|
# Initialize new plugin
|
|
195
197
|
linthis plugin init my-config
|
|
@@ -427,7 +429,6 @@ All modifications preserve TOML file format and comments.
|
|
|
427
429
|
| ----- | ----------------------- | ---------------------------------------- | ----------------------- |
|
|
428
430
|
| `-i` | `--include` | Specify files or directories to check | `-i src -i lib` |
|
|
429
431
|
| `-e` | `--exclude` | Exclude patterns (can be used multiple times) | `-e "*.test.js"` |
|
|
430
|
-
| `-p` | `--plugin` | Use plugin (alias or Git URL) | `-p myplugin` |
|
|
431
432
|
| `-c` | `--check-only` | Check only, no formatting | `-c` |
|
|
432
433
|
| `-f` | `--format-only` | Format only, no checking | `-f` |
|
|
433
434
|
| `-s` | `--staged` | Check only Git staged files | `-s` |
|
|
@@ -438,9 +439,9 @@ All modifications preserve TOML file format and comments.
|
|
|
438
439
|
| | `--config` | Specify config file path | `--config custom.toml` |
|
|
439
440
|
| | `--init` | Initialize .linthis.toml config file | `--init` |
|
|
440
441
|
| | `--preset` | Format preset | `--preset google` |
|
|
441
|
-
| | `--plugin-update` | Force update plugin cache | `--plugin-update` |
|
|
442
442
|
| | `--no-default-excludes` | Disable default exclude rules | `--no-default-excludes` |
|
|
443
443
|
| | `--no-gitignore` | Disable .gitignore rules | `--no-gitignore` |
|
|
444
|
+
| | `--no-plugin` | Skip loading plugins, use default config | `--no-plugin` |
|
|
444
445
|
|
|
445
446
|
### Plugin Management Subcommands
|
|
446
447
|
|
|
@@ -695,7 +696,7 @@ git push -u origin main
|
|
|
695
696
|
|
|
696
697
|
```bash
|
|
697
698
|
linthis plugin add company https://github.com/mycompany/linthis-standards.git
|
|
698
|
-
linthis
|
|
699
|
+
linthis # Plugin configs are auto-loaded
|
|
699
700
|
```
|
|
700
701
|
|
|
701
702
|
## FAQ
|
|
@@ -721,7 +722,8 @@ linthis -l python # Only check Python files
|
|
|
721
722
|
### Q: How to update plugins?
|
|
722
723
|
|
|
723
724
|
```bash
|
|
724
|
-
linthis
|
|
725
|
+
linthis plugin sync # Sync local plugins
|
|
726
|
+
linthis plugin sync --global # Sync global plugins
|
|
725
727
|
```
|
|
726
728
|
|
|
727
729
|
### Q: What is the plugin Git reference (ref) used for?
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
linthis-0.0.8.data\scripts\linthis.exe,sha256=3wDQShAjOELcr0AILL-CNY2mmYYpW7_cLElXUtGO89o,5782528
|
|
2
|
+
linthis-0.0.8.dist-info\METADATA,sha256=A2PVwVPNC_emY28ouYQ-0fLgssuEplJ6-sEF6zUvf2k,21154
|
|
3
|
+
linthis-0.0.8.dist-info\WHEEL,sha256=jsSEiVNsW1dJj5gDaReR40i7mhgBjWtms6nAD6EViXU,94
|
|
4
|
+
linthis-0.0.8.dist-info\RECORD,,
|
linthis-0.0.7.dist-info/RECORD
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
linthis-0.0.7.data\scripts\linthis.exe,sha256=tl-aTL5MP94SNzx_9wMtSl7esZ5H2bY2RwbvBEGJZ3E,5329408
|
|
2
|
-
linthis-0.0.7.dist-info\METADATA,sha256=X0X7NnlgM4XjCYCVthyZKVTgpc5c8fY657k4moNQ5us,21112
|
|
3
|
-
linthis-0.0.7.dist-info\WHEEL,sha256=FgIj1yRjnpuqyZVQlpxRUZy0QzlOz7QM1V2-5muMtN4,94
|
|
4
|
-
linthis-0.0.7.dist-info\RECORD,,
|