diff --git a/libs/ast_extractor/ast_extractor/__init__.py b/libs/ast-extractor/README.md similarity index 100% rename from libs/ast_extractor/ast_extractor/__init__.py rename to libs/ast-extractor/README.md diff --git a/libs/ast_extractor/tests/__init__.py b/libs/ast-extractor/ast_extractor/__init__.py similarity index 100% rename from libs/ast_extractor/tests/__init__.py rename to libs/ast-extractor/ast_extractor/__init__.py diff --git a/libs/ast_extractor/ast_extractor/ast_extractor.py b/libs/ast-extractor/ast_extractor/ast.py similarity index 100% rename from libs/ast_extractor/ast_extractor/ast_extractor.py rename to libs/ast-extractor/ast_extractor/ast.py index d53bd4a..7394303 100644 --- a/libs/ast_extractor/ast_extractor/ast_extractor.py +++ b/libs/ast-extractor/ast_extractor/ast.py @@ -1,5 +1,5 @@ -import subprocess import json +import subprocess def filepath_vyper_to_ast(file_path): try: diff --git a/libs/ast_extractor/pyproject.toml b/libs/ast-extractor/pyproject.toml similarity index 71% rename from libs/ast_extractor/pyproject.toml rename to libs/ast-extractor/pyproject.toml index 1268496..f60602d 100644 --- a/libs/ast_extractor/pyproject.toml +++ b/libs/ast-extractor/pyproject.toml @@ -1,8 +1,8 @@ [tool.poetry] -name = "ast_extractor" +name = "ast-extractor" version = "0.1.0" description = "" -authors = ["Enzo Bonato "] +authors = ["0xtekgrinder <0xtekgrinder@protonmail.com>"] readme = "README.md" [tool.poetry.dependencies] diff --git a/libs/ast-extractor/tests/__init__.py b/libs/ast-extractor/tests/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/libs/ast_extractor/.gitignore b/libs/ast_extractor/.gitignore deleted file mode 100644 index ed8ebf5..0000000 --- a/libs/ast_extractor/.gitignore +++ /dev/null @@ -1 +0,0 @@ -__pycache__ \ No newline at end of file diff --git a/libs/ast_extractor/README.md b/libs/ast_extractor/README.md deleted file mode 100644 index c1b16ed..0000000 --- a/libs/ast_extractor/README.md +++ /dev/null @@ -1 +0,0 @@ -# Ast extractor for vyper using a file_path in input \ No newline at end of file diff --git a/servers/servers/poetry.lock b/servers/servers/poetry.lock index 261911e..b0e4d80 100644 --- a/servers/servers/poetry.lock +++ b/servers/servers/poetry.lock @@ -11,9 +11,9 @@ develop = false [package.source] type = "directory" -url = "../../libs/ast_extractor" +url = "../../libs/ast-extractor" [metadata] lock-version = "2.0" python-versions = "^3.10" -content-hash = "b9b2e8b262e8f93ea685f7af3ca505f1577e61ab03eeabc880f6cb6ca73a0cf2" +content-hash = "b6b9e38b3eb45d988280df7ddecfb5261929e439b1d516427e2617b981a79fc3" diff --git a/servers/servers/pyproject.toml b/servers/servers/pyproject.toml index 7ab8551..0fbee0c 100644 --- a/servers/servers/pyproject.toml +++ b/servers/servers/pyproject.toml @@ -2,12 +2,13 @@ name = "servers" version = "0.1.0" description = "" -authors = ["Enzo Bonato "] +authors = ["0xtekgrinder <0xtekgrinder@protonmail.com>"] readme = "README.md" [tool.poetry.dependencies] python = "^3.10" -ast_extractor = { path = "../../libs/ast_extractor" } +ast-extractor = {path = "../../libs/ast-extractor"} + [build-system] requires = ["poetry-core"]