forked from axju/pynamelix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
63 lines (56 loc) · 1.23 KB
/
setup.cfg
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
53
54
55
56
57
58
59
60
61
62
63
[metadata]
name = pynamelix
description = API to namelix.com
url = https://github.com/axju/pynamelix
author = axju
author_email = moin@axju.de
license = MIT
long_description = file: README.rst
long_description_content_type = text/x-rst
classifiers =
Intended Audience :: Developers
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
[tox:tox]
envlist =
py{36,37,38,39}
flake8
pylint
cov-report
skipt_missing_interpreters = True
[testenv]
setenv =
COVERAGE_FILE = .coverage.{envname}
deps =
coverage
pytest
commands =
python -m pip install -e .
python -m coverage run --source=pynamelix -m pytest
[testenv:flake8]
deps = flake8
commands = flake8 pynamelix
[testenv:pylint]
deps = pylint
commands = pylint --rcfile=setup.cfg pynamelix
[testenv:cov-report]
skipsdist = True
setenv =
COVERAGE_FILE = .coverage
deps = coverage
commands =
coverage combine
coverage report
[flake8]
max-line-length = 160
ignore = E722
[pylint]
disable =
missing-docstring,
dangerous-default-value,
bare-except
max-line-length = 160