Skip to content

Commit

Permalink
Merge pull request #18 from mkdocstrings/dev-remove-locate
Browse files Browse the repository at this point in the history
Remove dependency `locate`.
  • Loading branch information
rudolfbyker authored Sep 19, 2024
2 parents a501ffa + bb7d88e commit 6ee0a99
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
1 change: 0 additions & 1 deletion test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
locate==1.1.1
5 changes: 2 additions & 3 deletions test/test_doctests.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import doctest
import unittest
from pathlib import Path
from typing import Any, List
from unittest import BaseTestSuite

from locate import this_dir

repo_dir = this_dir().parent
repo_dir = Path(__file__).resolve().parent.parent


# noinspection PyUnusedLocal
Expand Down
3 changes: 1 addition & 2 deletions test/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
from tempfile import TemporaryDirectory
from typing import Generator

from locate import this_dir
from mkdocs.commands.build import build
from mkdocs.config import load_config

repo_dir = this_dir().parent
repo_dir = Path(__file__).resolve().parent.parent
examples_dir = repo_dir.joinpath("examples")


Expand Down

0 comments on commit 6ee0a99

Please sign in to comment.