diff --git a/README.md b/README.md index 2deda41..dbf6d0d 100644 --- a/README.md +++ b/README.md @@ -6,12 +6,14 @@ To start developing: ``` python -m venv .venv source .venv/Scripts/activate -pip install -e . +pip install -e .[test,lint] # work related commands here deactivate ``` -To run tests: +Tools: ``` pytest +flake8 vpn_manager +black vpn_manager ``` \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 562e1f3..3552b50 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,15 +7,15 @@ packages = ["vpn_manager"] [project] name = "vpn-manager" +description = "Manage WireGuard VPN peers (both server and clients)" version = "2024.12.0a" +license = {file = "LICENSE"} +readme = "README.md" requires-python = ">=3.8" dependencies = ["click>=8.1"] authors = [ {name = "Fedor Lyanguzov"}, ] -license = {file = "LICENSE"} -readme = "README.md" -description = "Manage WireGuard VPN peers (both server and clients)" [project.optional-dependencies] test = ["pytest"] diff --git a/vpn_manager/__main__.py b/vpn_manager/__main__.py index bcbef5f..31564bb 100644 --- a/vpn_manager/__main__.py +++ b/vpn_manager/__main__.py @@ -1,9 +1,6 @@ - - - - def main(): print("run") -if __name__=="__main__": + +if __name__ == "__main__": main()