Skip to content

Commit 3306e5b

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

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
@@ -114,5 +114,5 @@ def sphinx_lint(session):
114114
accepting another path as positional argument.
115115
"""
116116
session.install("sphinx-lint==1.0.0")
117-
target = session.posargs if len(session.posargs) >= 1 else ["source"]
117+
target = session.posargs or ["source"]
118118
session.run("sphinx-lint", *target)

0 commit comments

Comments
 (0)