-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPipfile
More file actions
33 lines (29 loc) · 1.2 KB
/
Pipfile
File metadata and controls
33 lines (29 loc) · 1.2 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
[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"
[requires]
python_version = "3.10.14"
[packages]
boto3 = "*"
botocore = "*"
jsonpickle = "*"
daplug-core = "==1.0.0b5"
[dev-packages]
mypy = "*"
lxml = "*"
pylint = "*"
pytest = "*"
pytest-cov = "*"
pytest-html = "*"
vistir = "==0.5.1"
moto = "*"
[scripts]
lint = "pylint --fail-under 10 daplug_s3"
typing-report = "mypy --html-report ./coverage/typing daplug_s3"
type-check = "mypy daplug_s3"
test = "pytest tests/unit"
test_ci = "pytest"
integrations = "bash -c 'docker compose -f tests/integrations/docker-compose.yml up -d localstack >/dev/null; cleanup() { docker compose -f tests/integrations/docker-compose.yml down >/dev/null; }; trap cleanup EXIT INT TERM; AWS_ACCESS_KEY_ID=test AWS_SECRET_ACCESS_KEY=test AWS_DEFAULT_REGION=us-east-1 S3_ENDPOINT=http://localhost:4566 pytest tests/integrations'"
coverage = "coverage run --source daplug_s3 -m pytest tests --cov=daplug_s3 --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"
setup-sync = "python tools/sync_setup_requires.py"