Skip to content

Commit

Permalink
Add unused arg for docs/cleandocs (jupyter#1815)
Browse files Browse the repository at this point in the history
* added unused arg for docs/cleandocs

* added args to docs call in tests
  • Loading branch information
trevorcampbell authored and AlirezaT99 committed Aug 6, 2024
1 parent 9b531c4 commit c13af01
Showing 1 changed file with 3 additions and 3 deletions.
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

0 comments on commit c13af01

Please sign in to comment.