add developer tools
This commit is contained in:
@@ -6,12 +6,14 @@ To start developing:
|
|||||||
```
|
```
|
||||||
python -m venv .venv
|
python -m venv .venv
|
||||||
source .venv/Scripts/activate
|
source .venv/Scripts/activate
|
||||||
pip install -e .
|
pip install -e .[test,lint]
|
||||||
# work related commands here
|
# work related commands here
|
||||||
deactivate
|
deactivate
|
||||||
```
|
```
|
||||||
|
|
||||||
To run tests:
|
Tools:
|
||||||
```
|
```
|
||||||
pytest
|
pytest
|
||||||
|
flake8 vpn_manager
|
||||||
|
black vpn_manager
|
||||||
```
|
```
|
||||||
+3
-3
@@ -7,15 +7,15 @@ packages = ["vpn_manager"]
|
|||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "vpn-manager"
|
name = "vpn-manager"
|
||||||
|
description = "Manage WireGuard VPN peers (both server and clients)"
|
||||||
version = "2024.12.0a"
|
version = "2024.12.0a"
|
||||||
|
license = {file = "LICENSE"}
|
||||||
|
readme = "README.md"
|
||||||
requires-python = ">=3.8"
|
requires-python = ">=3.8"
|
||||||
dependencies = ["click>=8.1"]
|
dependencies = ["click>=8.1"]
|
||||||
authors = [
|
authors = [
|
||||||
{name = "Fedor Lyanguzov"},
|
{name = "Fedor Lyanguzov"},
|
||||||
]
|
]
|
||||||
license = {file = "LICENSE"}
|
|
||||||
readme = "README.md"
|
|
||||||
description = "Manage WireGuard VPN peers (both server and clients)"
|
|
||||||
|
|
||||||
[project.optional-dependencies]
|
[project.optional-dependencies]
|
||||||
test = ["pytest"]
|
test = ["pytest"]
|
||||||
|
|||||||
@@ -1,9 +1,6 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
print("run")
|
print("run")
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
|||||||
Reference in New Issue
Block a user