Skip to content

Commit d50e1db

Browse files
authored
also output diff with black
1 parent c06ed33 commit d50e1db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

noxfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Nox sessions."""
2+
23
import os
34
import shutil
45
from pathlib import Path
@@ -7,7 +8,6 @@
78
from nox_poetry import Session # type: ignore
89
from nox_poetry import session # type: ignore
910

10-
1111
package = "haptools"
1212
python_versions = ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
1313
locked_python_version = "3.9" # keep in sync with dev-env.yml
@@ -37,7 +37,7 @@ def docs(session: Session) -> None:
3737
def lint(session: Session) -> None:
3838
"""Lint our code."""
3939
session.install("black")
40-
session.run("black", "--verbose", "--check", ".")
40+
session.run("black", "--diff", "--verbose", "--check", ".")
4141

4242

4343
# detect whether conda/mamba is installed

0 commit comments

Comments
 (0)