diff --git a/nvexpo/__init__.py b/nvexpo/__init__.py index 2c062f3..8aa8e3e 100644 --- a/nvexpo/__init__.py +++ b/nvexpo/__init__.py @@ -32,7 +32,7 @@ def main() -> int: variables = {} for raw_var in raw_vars: if "=" not in raw_var: - nvexpo.show_help("Use the syntax \"key=value\"") + nvexpo.show_help('Use the syntax "key=value"') return 1 try: key, value = raw_var.split("=", 1) @@ -49,7 +49,7 @@ def main() -> int: nvexpo.show_help("Empty value") return 1 if not re.match(CONSTS.VARNAME_PATTERN, key): - nvexpo.show_help(f"\"{key}\" is not a valid name") + nvexpo.show_help(f'"{key}" is not a valid name') return 1 nvexpo.set_env(variables) return 0 diff --git a/pyproject.toml b/pyproject.toml index fe3c278..7725d62 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,9 +1,12 @@ [tool.poetry] name = "nvexpo" -version = "0.1.0" +version = "0.1.1" description = "" authors = ["kirbylife "] readme = "README.md" +license = "MIT" +repository = "https://git.kirbylife.dev/kirbylife/nvexpo" +keywords = ["cli", "bash", "export", "env var"] [tool.poetry.dependencies] python = "^3.8" @@ -20,11 +23,10 @@ format = "ruff format nvexpo" linter = "ruff nvexpo" typing = "mypy nvexpo" - [tool.ruff] target-version = "py38" -line-length=120 -indent-width=4 +line-length = 120 +indent-width = 4 [tool.ruff.lint] select = ["ALL"] diff --git a/test.env b/test.env deleted file mode 100644 index 2864150..0000000 --- a/test.env +++ /dev/null @@ -1 +0,0 @@ -HELLO=10