forked from s7clarke10/pipelinewise-tap-s3-csv
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
39 lines (33 loc) · 1.14 KB
/
tox.ini
File metadata and controls
39 lines (33 loc) · 1.14 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
# This file can be used to customize tox tests as well as other test frameworks like flake8 and mypy
[tox]
envlist = py38, py39, py310, py311, py312
skip_missing_interpreters = True
isolated_build = true
[testenv]
setenv =
TAP_S3_CSV_ENDPOINT=http://0.0.0.0:9000
TAP_S3_CSV_ACCESS_KEY_ID=ACCESS_KEY_user123!
TAP_S3_CSV_SECRET_ACCESS_KEY=SECRET_ACCESS_KEY_secret123!
TAP_S3_CSV_BUCKET=awesome-bucket
allowlist_externals = poetry
commands =
poetry install -v
poetry run pytest tests/unit
poetry run python run_integration_tests.py
poetry run pylint tap_s3_csv/
poetry run black --check tap_s3_csv/ tests/ --line-length 80
poetry run isort --check tap_s3_csv/ tests/ --profile black --line-length=80
poetry run flake8 tap_s3_csv/ tests/
poetry run mypy tap_s3_csv/
# poetry run pydocstyle singer/ tests/
[flake8]
ignore = W503, C901, ANN101, E203
max-line-length = 88
per-file-ignores =
# Don't require docstrings or type annotations in tests
tests/*:D100,D102,D103,DAR,ANN
singer/__init__.py:F401
max-complexity = 10
docstring-convention = google
[pydocstyle]
ignore = D105,D107,D203,D213,D406,D407