Skip to content

Commit 71d1dd6

Browse files
Simplify logic operation
Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
1 parent 9dc4361 commit 71d1dd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,5 +113,5 @@ def sphinx_lint(session):
113113
accepting another path as positional argument.
114114
"""
115115
session.install("sphinx-lint==1.0.0")
116-
target = session.posargs if len(session.posargs) >= 1 else ["source"]
116+
target = session.posargs or ["source"]
117117
session.run("sphinx-lint", *target)

0 commit comments

Comments
 (0)