fix: resolve CI type annotation issues
This commit is contained in:
16
src/requirements_to_gherkin/parser.py
Normal file
16
src/requirements_to_gherkin/parser.py
Normal file
@@ -0,0 +1,16 @@
|
||||
from pathlib import Path
|
||||
from typing import List, Dict, Any
|
||||
import re
|
||||
|
||||
|
||||
class RequirementsParser:
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
def parse_file(self, file_path: Path) -> Dict[str, Any]:
|
||||
content = file_path.read_text()
|
||||
return self.parse_text(content)
|
||||
|
||||
def parse_text(self, text: str) -> Dict[str, Any]:
|
||||
requirements = {}
|
||||
return requirements
|
||||
Reference in New Issue
Block a user