Skip to content

Commit 04ff468

Browse files
format
1 parent ba7be65 commit 04ff468

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

exasol/toolbox/nox/_documentation.py

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
from __future__ import annotations
22

33
import shutil
4+
import subprocess
5+
import sys
46
import webbrowser
7+
from pathlib import Path
58

69
import nox
710
from nox import Session
@@ -11,9 +14,6 @@
1114
PROJECT_CONFIG,
1215
Config,
1316
)
14-
import subprocess
15-
from pathlib import Path
16-
import sys
1717

1818

1919
def _build_docs(session: nox.Session, config: Config) -> None:
@@ -41,17 +41,12 @@ def _build_multiversion_docs(session: nox.Session, config: Config) -> None:
4141

4242
def _git_diff_changes_main() -> bool:
4343
p = subprocess.run(
44-
[
45-
"git",
46-
"diff",
47-
"main",
48-
"--quiet",
49-
Path(PROJECT_CONFIG.root, "doc/changes")
50-
],
44+
["git", "diff", "main", "--quiet", Path(PROJECT_CONFIG.root, "doc/changes")],
5145
capture_output=True,
5246
)
5347
return bool(p.returncode)
5448

49+
5550
@nox.session(name="docs:multiversion", python=False)
5651
def build_multiversion(session: Session) -> None:
5752
"""Builds the multiversion project documentation"""

0 commit comments

Comments
 (0)