Skip to content

Commit f8b1872

Browse files
committed
chore: optimize scripts for linting and formatting
1 parent 77f1320 commit f8b1872

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ post-install-commands = [
105105
cov = "pytest --cov-report=term-missing --cov-config=pyproject.toml --cov=robotcode --cov=tests {args}"
106106
no-cov = "cov --no-cov {args}"
107107
test = "pytest {args}"
108+
install-bundled-editable = "python ./scripts/install_bundled_editable.py"
108109

109110

110111
[tool.hatch.envs.devel]
@@ -152,8 +153,8 @@ features = ["yaml", "rest", "lint", "tidy"]
152153

153154
[tool.hatch.envs.lint.scripts]
154155
typing = ["mypy --install-types --non-interactive {args:.}"]
155-
style = ["ruff {args:.}", "black --check --diff {args:.}"]
156-
fmt = ["black {args:.}", "ruff --fix {args:.}", "style"]
156+
style = ["ruff .", "black --check --diff ."]
157+
fmt = ["ruff --fix .", "black .", "style"]
157158
all = ["style", "typing"]
158159

159160

0 commit comments

Comments
 (0)