add developer tools

This commit is contained in:
Fedor Lyanguzov
2024-12-19 20:44:12 +03:00
parent b13c53686a
commit d1200836c8
3 changed files with 9 additions and 10 deletions
+4 -2
View File
@@ -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
```
+3 -3
View File
@@ -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"]
+2 -5
View File
@@ -1,9 +1,6 @@
def main():
print("run")
if __name__=="__main__":
if __name__ == "__main__":
main()