Skip to content

Commit e543980

Browse files
Bump version to 0.2.2 (#29)
This version includes: * benchmarks on CI #22 #28 * improved CLI output when dealing with multiple files (more like ruff, although less detailed) #23 * use current working directory as default path argument (like ruff) #29 * major performance improvements * reduce disk access #25 * only sort when needed and cache the setting lookup #26 * batch formatting of template expression in one go #27
1 parent 9dbb185 commit e543980

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "ruff-cgx"
3-
version = "0.2.1"
3+
version = "0.2.2"
44
description = "Ruff linter and formatter for collagraph single-file components"
55
readme = "README.md"
66
requires-python = ">=3.10"

ruff_cgx/__main__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def main(argv=None):
162162
"path",
163163
nargs="*",
164164
type=Path,
165-
# default=[Path(".")],
165+
default=[Path(".")],
166166
help="path(s) of files and/or folders to check",
167167
)
168168

@@ -172,7 +172,7 @@ def main(argv=None):
172172
"path",
173173
nargs="*",
174174
type=Path,
175-
# default=[Path(".")],
175+
default=[Path(".")],
176176
help="path(s) of files and/or folders to format",
177177
)
178178

0 commit comments

Comments
 (0)