Skip to content

Commit

Permalink
revert lyz-code#152
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasha10 committed Nov 21, 2021
1 parent 43fd172 commit b0969ab
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 310 deletions.
56 changes: 0 additions & 56 deletions src/autoimport/config.py

This file was deleted.

36 changes: 0 additions & 36 deletions src/autoimport/utils.py

This file was deleted.

19 changes: 0 additions & 19 deletions tests/conftest.py
@@ -1,20 +1 @@
"""Store the classes and fixtures used throughout the tests."""

from pathlib import Path
from typing import Callable, Optional

import pytest


@pytest.fixture()
def create_tmp_file(tmp_path: Path) -> Callable:
"""Fixture for creating a temporary file."""

def _create_tmp_file(
content: Optional[str] = "", filename: Optional[str] = "file.txt"
) -> Path:
tmp_file = tmp_path / filename
tmp_file.write_text(content)
return tmp_file

return _create_tmp_file
109 changes: 0 additions & 109 deletions tests/unit/test_config.py

This file was deleted.

90 changes: 0 additions & 90 deletions tests/unit/test_utils.py

This file was deleted.

0 comments on commit b0969ab

Please sign in to comment.