-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
64 lines (56 loc) · 1.58 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[project]
name = "vshieldpy"
version = "0.0.2"
authors = [{ name = "Tayfun Bocek", email = "[email protected]" }]
description = "Python library for interacting with the vShield API."
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: MIT License",
"Environment :: Web Environment",
"Operating System :: OS Independent",
"Intended Audience :: Developers"
]
dependencies = ["httpx[http2]>=0.27.0"]
keywords = ["vshield", "web", "servers", "vps", "virtaul server"]
[project.optional-dependencies]
docs = [
"sphinx>=3.4.0",
"sphinx-toolbox>=3.5.0",
"enum-tools>=0.11.0",
"sphinx-rtd-theme>=2.0.0",
]
testing = ["Flask>=3.0.2", "anyio>=4.3.0", "pytest-env>=1.1.3"]
dev = ["vshieldpy[testing]", "ruff"]
[project.urls]
Homepage = "https://github.com/airblast-dev/vshieldpy"
Issues = "https://github.com/airblast-dev/vshieldpy/issues"
Docs = "https://vshieldpy.readthedocs.io/en/latest/"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.black]
target-version = ["py312"]
include = '''
(
^.*\.py
)
'''
[tool.ruff]
lint.extend-select = ["D", "I"]
lint.extend-ignore = ["D107"]
lint.fixable = ["I001"]
line-length = 88
exclude = ["examples", "docs"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
"tests/*" = ["D"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.pytest_env]
VS_API_URL="http://localhost:5000"
VS_API_KEY=1