Skip to content

Commit a4ea424

Browse files
committed
Updated linting errors
1 parent d57e59e commit a4ea424

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

dlt_init_openapi/config.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import json
22
import mimetypes
3-
import pathlib
43
from pathlib import Path
5-
from typing import Any, Dict, List, Optional
4+
from typing import Any, List, Optional
65

76
import yaml
87
from pydantic import BaseModel
@@ -12,11 +11,6 @@
1211
from .typing import TEndpointFilter
1312

1413

15-
16-
# Placeholder for SecretsTomlConfig to resolve ImportError in tests
17-
# SecretsTomlConfig = Dict[str, Any]
18-
19-
2014
class Config(BaseModel):
2115
"""Contains any configurable values passed by the user."""
2216

dlt_init_openapi/renderer/default/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ def run(self, openapi: OpenapiParser, dry: bool = False) -> None:
6767
self._build_meta_files()
6868
self._run_post_hooks()
6969

70-
7170
def _build_meta_files(self) -> None:
7271
requirements_template = self.env.get_template("requirements.txt.j2")
7372
req_path = self.config.project_dir / "requirements.txt"

0 commit comments

Comments
 (0)