-
-
Notifications
You must be signed in to change notification settings - Fork 43
/
pylama.ini
40 lines (30 loc) · 1009 Bytes
/
pylama.ini
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
[pylama]
skip = .eggs/*,.tox/*,*/.env/*,_sandbox/*,build/*,docs/conf.py,test/data.py,pytablewriter/_typing.py
[pylama:mccabe]
max-complexity = 15
[pylama:pycodestyle]
max_line_length = 120
# W503 line break before binary operator [pycodestyle]
ignore = W503
[pylama:pylint]
max_line_length = 120
[pylama:*/__init__.py]
# W0611: imported but unused [pyflakes]
ignore = W0611
[pylama:pytablewriter/typehint.py]
# W0611: imported but unused [pyflakes]
ignore = W0611
[pylama:pytablewriter/style/_theme.py]
; https://black.readthedocs.io/en/stable/guides/using_black_with_other_tools.html#flake8
ignore = E704
[pylama:test/*.py]
# E241 multiple spaces after ',' [pycodestyle]
# E501 line too long [pycodestyle]
# W291 trailing whitespace [pycodestyle]
# W0401 XXX may be undefined, or defined from star imports: .data [pyflakes]
ignore = E241,E501,W291,W0401
[pylama:examples/py/*.py]
ignore = E241
[pylama:test/test_logger.py]
# E402: module level import not at top of file [pycodestyle]
ignore = E402