plain.code 0.9.0__tar.gz → 0.9.1__tar.gz
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.
- {plain_code-0.9.0 → plain_code-0.9.1}/PKG-INFO +1 -1
- {plain_code-0.9.0 → plain_code-0.9.1}/plain/code/CHANGELOG.md +10 -0
- {plain_code-0.9.0 → plain_code-0.9.1}/plain/code/cli.py +1 -2
- {plain_code-0.9.0 → plain_code-0.9.1}/pyproject.toml +1 -1
- {plain_code-0.9.0 → plain_code-0.9.1}/.gitignore +0 -0
- {plain_code-0.9.0 → plain_code-0.9.1}/LICENSE +0 -0
- {plain_code-0.9.0 → plain_code-0.9.1}/README.md +0 -0
- {plain_code-0.9.0 → plain_code-0.9.1}/plain/code/README.md +0 -0
- {plain_code-0.9.0 → plain_code-0.9.1}/plain/code/__init__.py +0 -0
- {plain_code-0.9.0 → plain_code-0.9.1}/plain/code/biome.py +0 -0
- {plain_code-0.9.0 → plain_code-0.9.1}/plain/code/biome_defaults.json +0 -0
- {plain_code-0.9.0 → plain_code-0.9.1}/plain/code/entrypoints.py +0 -0
- {plain_code-0.9.0 → plain_code-0.9.1}/plain/code/ruff_defaults.toml +0 -0
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# plain-code changelog
|
|
2
2
|
|
|
3
|
+
## [0.9.1](https://github.com/dropseed/plain/releases/plain-code@0.9.1) (2025-07-18)
|
|
4
|
+
|
|
5
|
+
### What's changed
|
|
6
|
+
|
|
7
|
+
- Improved error handling by using `click.UsageError` instead of `print` and `sys.exit` for better CLI error messages ([88f06c5](https://github.com/dropseed/plain/commit/88f06c5))
|
|
8
|
+
|
|
9
|
+
### Upgrade instructions
|
|
10
|
+
|
|
11
|
+
- No changes required
|
|
12
|
+
|
|
3
13
|
## [0.9.0](https://github.com/dropseed/plain/releases/plain-code@0.9.0) (2025-07-03)
|
|
4
14
|
|
|
5
15
|
### What's changed
|
|
@@ -100,8 +100,7 @@ def fix(ctx, path, unsafe_fixes, add_noqa):
|
|
|
100
100
|
ruff_args.extend(["--exclude", e])
|
|
101
101
|
|
|
102
102
|
if unsafe_fixes and add_noqa:
|
|
103
|
-
|
|
104
|
-
sys.exit(1)
|
|
103
|
+
raise click.UsageError("Cannot use both --unsafe-fixes and --add-noqa")
|
|
105
104
|
|
|
106
105
|
if unsafe_fixes:
|
|
107
106
|
print_event("Ruff fix (with unsafe fixes)")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|