Skip to content

Commit 792b06e

Browse files
committed
Removed black python dep
Signed-off-by: Ole Herman Schumacher Elgesem <[email protected]>
1 parent 34343a3 commit 792b06e

File tree

3 files changed

+2
-110
lines changed

3 files changed

+2
-110
lines changed

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ dependencies = [
1515
"tree-sitter-cfengine>=1.0.8",
1616
"tree-sitter>=0.23",
1717
"markdown-it-py>=3.0.0",
18-
"black>=25.1.0",
1918
]
2019
classifiers = [
2120
"Development Status :: 3 - Alpha",

src/cfengine_cli/docs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ def _run_black():
299299
cwd=path,
300300
)
301301
except:
302-
raise UserError("Encountered an error running black")
302+
raise UserError("Encountered an error running black\nInstall: pipx install black")
303303

304304

305305
def _run_prettier():
@@ -314,7 +314,7 @@ def _run_prettier():
314314
cwd=path,
315315
)
316316
except:
317-
raise UserError("Encountered an error running prettier")
317+
raise UserError("Encountered an error running prettier\nInstall: npm install --global prettier")
318318

319319
def update_docs() -> int:
320320
"""

uv.lock

Lines changed: 0 additions & 107 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)