forked from AutoIDM/tap-clickup
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
42 lines (35 loc) · 1.15 KB
/
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
34
35
36
37
38
39
40
41
# This file can be used to customize dox tests as well as other test frameworks like flake8 and mypy
[tox]
envlist = py38, lint
passenv = *
; envlist = py36, py38, py39
isolated_build = true
skipsdist = true
[testenv]
whitelist_externals = poetry
passenv = *
commands_pre =
poetry install -v
[testenv:lint]
commands =
poetry run black --check tap_clickup/
poetry run flake8 tap_clickup
; this pylint command is a requirement of Stitch
; poetry run pylint tap_clickup/ --disable 'broad-except, \
; chained-comparison,empty-docstring,fixme,invalid-name,line-too-long, \
; missing-class-docstring,missing-function-docstring, \
; missing-module-docstring,no-else-raise,no-else-return, \
; too-few-public-methods,too-many-arguments,too-many-branches, \
; too-many-lines,too-many-locals,ungrouped-imports, \
; wrong-spelling-in-comment,wrong-spelling-in-docstring,bad-whitespace'
; poetry run pydocstyle tap_clickup
; poetry run mypy tap_clickup --exclude='tap_clickup/tests'
[testenv:test]
commands =
poetry run pytest
[flake8]
ignore = W503
max-line-length = 120
max-complexity = 10
[pydocstyle]
ignore = D105,D203,D213