Skip to content

Commit 4c25bc0

Browse files
The current directory is the default ruff target
No need to specify it explictly, the same way we don't specifiy it with mypy or sidst-check.
1 parent 9ae5baf commit 4c25bc0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

noxfile.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,8 @@ def flake(session: nox.Session) -> None:
202202
*pyproject_data["project"]["optional-dependencies"]["nox"],
203203
)
204204

205-
session.run("ruff", "check", ".")
206-
session.run("ruff", "format", "--check", ".")
205+
session.run("ruff", "check")
206+
session.run("ruff", "format", "--check")
207207
session.run(
208208
"mypy",
209209
"src/cryptography/",
@@ -286,8 +286,8 @@ def local(session: nox.Session):
286286
verbose=False,
287287
)
288288

289-
session.run("ruff", "format", ".")
290-
session.run("ruff", "check", ".")
289+
session.run("ruff", "format")
290+
session.run("ruff", "check")
291291

292292
session.run("cargo", "fmt", "--all", external=True)
293293
session.run("cargo", "check", "--all", "--tests", external=True)

0 commit comments

Comments
 (0)