We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4b85ff commit 7824260Copy full SHA for 7824260
1 file changed
packages/gcp-sphinx-docfx-yaml/noxfile.py
@@ -108,7 +108,7 @@ def lint(session):
108
Returns a failure if the linters find linting errors or sufficiently
109
serious code quality issues.
110
"""
111
- session.install(RUFF_VERSION)
+ session.install("flake8", RUFF_VERSION)
112
113
# 2. Check formatting
114
session.run(
@@ -120,7 +120,7 @@ def lint(session):
120
".",
121
)
122
123
- session.run("ruff", "check", ".")
+ session.run("flake8", ".", success_codes=[0, 1])
124
125
126
@nox.session(python=DEFAULT_PYTHON_VERSION)
0 commit comments