Skip to content

Commit f03d376

Browse files
chore(bigframes): fix nox formatter (#16767)
Copied the format command from the nox `blacken` --------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 3c2b6c8 commit f03d376

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

packages/bigframes/noxfile.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,15 @@ def format(session):
191191
*LINT_PATHS,
192192
)
193193

194+
# 3. Run Ruff to format code
195+
session.run(
196+
"ruff",
197+
"format",
198+
f"--target-version=py{ALL_PYTHON[0].replace('.', '')}",
199+
"--line-length=88", # Standard Black line length
200+
*LINT_PATHS,
201+
)
202+
194203

195204
@nox.session(python=DEFAULT_PYTHON_VERSION)
196205
def lint_setup_py(session):

0 commit comments

Comments
 (0)