forked from mjsqu/pipelinewise-singer-python
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtox.ini
33 lines (27 loc) · 880 Bytes
/
tox.ini
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
# 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]
allowlist_externals = poetry
commands =
poetry install -v
poetry run pytest
poetry run pylint singer/
poetry run black --check singer/ tests/ --line-length 80
poetry run isort --check singer/ tests/ --profile black --line-length=80
poetry run flake8 singer/ tests/
poetry run mypy singer/
# poetry run pydocstyle singer/ tests/
[flake8]
ignore = W503, C901, ANN101
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