forked from python-amazon-mws/python-amazon-mws
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.cfg
More file actions
27 lines (23 loc) · 806 Bytes
/
setup.cfg
File metadata and controls
27 lines (23 loc) · 806 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
[metadata]
description-file = README.md
[flake8]
# Config adjusted to work with Black formatting:
# https://ljvmiranda921.github.io/notebook/2018/06/21/precommits-using-black-and-flake8/#flake8-checker
ignore = E203, E266, E501, W503, F403, F401
max-line-length = 120
exclude =
.venv
.git
docs
pythonenv*
max-complexity = 18
select = B,C,E,F,W,T4,B9
[rstcheck]
# Configs specific to rstcheck, used for linting reStructuredText documentation:
# https://github.com/myint/rstcheck#configuration-file
# All the "auto" directives below are part of `sphinx.ext.autodoc`, and for some reason rstcheck doesn't know that.
ignore_directives=automodule,autoclass,autoexception,autofunction,autodecorator,autodata,automethod,autoattribute
[tool:pytest]
addopts = -s -v
[coverage:run]
branch = True