diff --git a/pyproject.toml b/pyproject.toml index 76cbb91..a682a7e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [tool.poetry] # https://python-poetry.org/docs/pyproject/ name = "zapman" version = "0.0.1" -description = "A Python tool for API testing and development in your terminal." +description = "An API Client for the terminal. A Python CLI for API testing and development." authors = [] license = "Proprietary" readme = "README.md" diff --git a/src/zapman/_module.py b/src/zapman/_module.py index ca0056e..e200e97 100644 --- a/src/zapman/_module.py +++ b/src/zapman/_module.py @@ -2,12 +2,12 @@ from pathlib import Path from types import ModuleType -from orval import kebab_case +from orval import snake_case def __module_name(file_path: str) -> str: relative = Path(file_path).relative_to(Path.cwd()) - results = [kebab_case(part) for part in relative.parts] + results = [snake_case(part) for part in relative.parts] if relative.is_file() or relative.suffix: results[-1] = relative.stem return ".".join(results)