We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 567e4f6 commit 33ebcf2Copy full SHA for 33ebcf2
1 file changed
packages/bigframes/noxfile.py
@@ -142,9 +142,20 @@ def lint(session):
142
Returns a failure if the linters find linting errors or sufficiently
143
serious code quality issues.
144
"""
145
- session.install("flake8", RUFF_VERSION)
+ session.install(RUFF_VERSION)
146
+
147
+ # Check imports
148
+ session.run(
149
+ "ruff",
150
+ "check",
151
+ "--select",
152
+ "I",
153
+ f"--target-version=py{ALL_PYTHON[0].replace('.', '')}",
154
+ "--line-length=88", # Standard Black line length
155
+ *LINT_PATHS,
156
+ )
157
- # 2. Check formatting
158
+ # Check formatting
159
session.run(
160
"ruff",
161
"format",
0 commit comments