Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 31, 2024
1 parent 9e5e649 commit f788fc5
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"""

import os

from jupyter_ai.document_loaders.directory import collect_files

# Prepare temp directory for test with pytest.py
Expand All @@ -31,6 +32,7 @@
filepath = os.path.join(d, file)
open(filepath, "a")


# Test that the number of valid files for `/learn` is correct
def test_collect_files():
all_files = False
Expand All @@ -40,5 +42,6 @@ def test_collect_files():

# Clean up temp directory
from shutil import rmtree

rmtree(path)
os.chdir(os.path.split(path)[0])
os.chdir(os.path.split(path)[0])

0 comments on commit f788fc5

Please sign in to comment.