Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add unused arg for docs/cleandocs #1815

Merged
merged 2 commits into from
Aug 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def _check_if_directory_in_path(pth, target):
return False


def docs(ns):
def docs(ns, args):
del ns # unused
run('git clean -fdX nbgrader/docs')
if not WINDOWS:
Expand All @@ -43,7 +43,7 @@ def docs(ns):
run('make -C nbgrader/docs linkcheck')


def cleandocs(ns):
def cleandocs(ns, args):
del ns # unused
run('python nbgrader/docs/source/clear_docs.py')

Expand Down Expand Up @@ -101,7 +101,7 @@ def tests(ns, args):
_run_ts_test(args)

elif ns.group == 'docs':
docs(ns)
docs(ns, args)

elif ns.group == 'all':
_run_tests(mark=None, skip=ns.skip, junitxml=ns.junitxml)
Expand Down
Loading