-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
52 lines (46 loc) · 933 Bytes
/
Copy pathtox.ini
File metadata and controls
52 lines (46 loc) · 933 Bytes
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
[tox]
envlist = py{38,39,310,311,312}
isolated_build = true
[testenv]
deps =
pytest
coverage[toml]
commands =
coverage run -m pytest {posargs}
coverage report
[testenv:lint]
deps =
black
isort
flake8
mypy
types-requests
commands =
black --check --diff tap_wordpress_org tests
isort --check-only --diff tap_wordpress_org tests
flake8 tap_wordpress_org tests
mypy tap_wordpress_org
[testenv:format]
deps =
black
isort
commands =
black tap_wordpress_org tests
isort tap_wordpress_org tests
[flake8]
max-line-length = 88
extend-ignore = E203, W503
exclude = .git,__pycache__,venv,.venv,.tox,dist
[coverage:run]
source = tap_wordpress_org
omit = */tests/*
[coverage:report]
exclude_lines =
pragma: no cover
def __repr__
if self.debug:
if settings.DEBUG
raise AssertionError
raise NotImplementedError
if 0:
if __name__ == .__main__.: