setup.cfg 829 Bytes
Newer Older
Nigel Kukard's avatar
Nigel Kukard committed
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
[aliases]
test = pytest

[tool:pytest]
addopts = --pylama --cov=src/ tests/ src/

[coverage:run]
branch = true
parallel = true

[coverage:report]
show_missing = true
exclude_lines =
    pragma: no cover
        def __repr__
        if self.debug:
        raise AssertionError
        raise NotImplementedError
        if __name__ == ['"]__main__['"]:$

[pylama]
linters = pep257,pycodestyle,pyflakes,pylint,mccabe,mypy,isort

# D202: No blank lines allowed after function docstring
# D203: 1 blank line required before class docstring
# D213: Multi-line docstring summary should start at the second line
# R0201: Method could be a function
# R0903: Too few public methods
ignore = D202,D203,D213,R0201,R0903

[pylama:pycodestyle]
max_line_length = 132

[pylama:pylint]
max_line_length = 132

[mypy]
ignore_missing_imports = true