-
Notifications
You must be signed in to change notification settings - Fork 27
/
setup.cfg
54 lines (48 loc) · 1.45 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
[bdist_wheel]
# This flag says that the code is written to work on both Python 2 and Python
# 3. If at all possible, it is good practice to do this. If you cannot, you
# will need to generate wheels for each Python version that you support.
universal = 1
# https://github.com/peritus/bumpversion#configuration
[bumpversion]
current_version = 1.15.0
files = ./scaleway/__init__.py ./CHANGES.rst
allow_dirty = True
commit = False
tag = False
tag_name = v{new_version}
# https://github.com/timothycrosley/isort#configuring-isort
[isort]
multi_line_output = 3
# https://nose.readthedocs.io/en/latest/usage.html#configuration
[nosetests]
match = ^test
cover-package = scaleway
with-coverage = 1
cover-erase = 1
cover-branches = 1
cover-min-percentage = 100
# https://coverage.readthedocs.io/en/latest/config.html#syntax
[coverage:run]
source = scaleway
branch = True
omit = */tests/*
[coverage:report]
omit = */tests/*
# https://pycodestyle.readthedocs.io/en/latest/intro.html#configuration
[pycodestyle]
# https://pycodestyle.readthedocs.io/en/latest/intro.html#error-codes
ignore =
show-source = True
statistics = True
# https://github.com/PyCQA/pylint/blob/master/examples/pylintrc
[pylint]
# https://pylint-messages.wikidot.com/all-codes
# C0103: Invalid name
# C0111: Missing docstring
# W0141: Used builtin function %r
# W0142: Used * or ** magic
# W0511: Warning notes in code comments
disable = C0103,C0111,W0141,W0142,W0511
ignore-docstrings = yes
output-format = colorized