fast-dev-cli 0.26.0__tar.gz → 0.26.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.
- {fast_dev_cli-0.26.0 → fast_dev_cli-0.26.1}/PKG-INFO +1 -1
- fast_dev_cli-0.26.1/fast_dev_cli/__init__.py +1 -0
- {fast_dev_cli-0.26.0 → fast_dev_cli-0.26.1}/fast_dev_cli/cli.py +2 -2
- {fast_dev_cli-0.26.0 → fast_dev_cli-0.26.1}/pyproject.toml +1 -1
- fast_dev_cli-0.26.0/fast_dev_cli/__init__.py +0 -1
- {fast_dev_cli-0.26.0 → fast_dev_cli-0.26.1}/LICENSE +0 -0
- {fast_dev_cli-0.26.0 → fast_dev_cli-0.26.1}/README.md +0 -0
- {fast_dev_cli-0.26.0 → fast_dev_cli-0.26.1}/fast_dev_cli/__main__.py +0 -0
- {fast_dev_cli-0.26.0 → fast_dev_cli-0.26.1}/fast_dev_cli/py.typed +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.26.1"
|
|
@@ -1159,7 +1159,7 @@ class GitTag(DryRun):
|
|
|
1159
1159
|
|
|
1160
1160
|
def mark_tag(self) -> bool:
|
|
1161
1161
|
if not re.search(r"working (tree|directory) clean", self.git_status) and (
|
|
1162
|
-
"
|
|
1162
|
+
"无文件要提交," not in self.git_status
|
|
1163
1163
|
):
|
|
1164
1164
|
run_and_echo("git status")
|
|
1165
1165
|
echo("ERROR: Please run git commit to make sure working tree is clean!")
|
|
@@ -1276,7 +1276,7 @@ class LintCode(DryRun):
|
|
|
1276
1276
|
prettier = f"{npx} prettier"
|
|
1277
1277
|
elif is_windows() and abspath:
|
|
1278
1278
|
# If prettier is installed by `npm i -g`
|
|
1279
|
-
prettier = Path(abspath).name # prettier.CMD
|
|
1279
|
+
prettier = Path(abspath).name.removesuffix(".exe") # prettier.CMD
|
|
1280
1280
|
return f"{prettier} -w {quoted_paths}"
|
|
1281
1281
|
ruff_rules = ["I", "B"]
|
|
1282
1282
|
if ruff_check_sim and not load_bool("FASTDEVCLI_NO_SIM"):
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.26.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|