-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPipfile
More file actions
52 lines (47 loc) · 1.55 KB
/
Pipfile
File metadata and controls
52 lines (47 loc) · 1.55 KB
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
[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"
[requires]
python_version = "3.9"
[pipenv]
allow_prereleases = true
[packages]
art = "*"
icecream = "*"
grpcio = "*"
grpcio-tools = "*"
grpcio-reflection = "*"
jsonref = "*"
jsonschema = "*"
msgspec = "*"
openapi-spec-validator = "*"
parsy = "*"
pydantic = "*"
pyyaml = "*"
Werkzeug = "*"
xmltodict = "*"
[dev-packages]
autopep8 = "*"
gunicorn = "*"
lxml = "*"
mypy = "*"
pylint = "*"
pylint-report = "*"
pylint-json2html = "*"
pytest = "*"
pytest-html = "*"
pytest-cov = "*"
[scripts]
qt = "python -m unittest tests/unit/cli/server/test_grpc.py"
lint = "pylint --fail-under 10 chilo_api"
test = "python -m unittest discover"
coverage = "coverage run --source chilo_api/ -m pytest tests/unit --cov=chilo_api --junitxml ./coverage/reports/junit.xml --cov-report xml:./coverage/reports/cov.xml --html=./coverage/reports/index.html --self-contained-html --cov-report html:./coverage/pretty -p no:warnings -o log_cli=true"
rest = "python -m chilo_api serve --api=api_rest --reload=true"
grpc = "python -m chilo_api serve --api=api_grpc --reload=true"
grpc_secured = "python -m chilo_api serve --api=api_grpc_secured --reload=true"
openapi = "python -m chilo_api generate-openapi --api=api_rest --output=tests/outputs --format=yml,json --delete"
gunicorn = "gunicorn 'chilo_api.gunicorn:run(api=\"api_rest.py\")' --workers=1 --bind=127.0.0.1:3000"
mypy-report = "mypy --html-report ./coverage/typing chilo_api/"
mypy-install-stubs = "mypy chilo_api/ --install-types --non-interactive"
mypy = "mypy chilo_api/"