-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
47 lines (40 loc) · 1.21 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
; [tool:pytest]
; python_files = api/tests/**
[flake8]
; E501 line too long (80 > 79 characters)
; E731 do not assign a lambda expression, use a def
; W504 line break before binary operator
ignore = E501,E731,W503
show-source = True
exclude = .venv,.tox,dist,doc,build,*.egg,
# Outside Package for DHT11 Sensor
sensor/Adafruit_DHT,
# Auto Generate by DB Auto Migrate
migrations,
# Developing, gitignore
algorithm,analysis,demo
[tool.pylint.messages_control]
# C0111: missing-docstring
# R0903: too-few-public-methods
# W0703: broad-except
# W1203: logging-fstring-interpolation
# E0611: no-name-in-module
# E0401: import-error
# R0913: too-many-arguments
# R0902: too-many-instance-attributes
# C0111: Missing method docstring (missing-docstring)
# C0330: Wrong hanging indentation before block
# W0511: TODO (temporary)
# E0237: assigning-non-slot
# E1101: no member
disable=C0111, R0903, W0703, W1203, E0611, E0401, R0913, R0902, C0111, C0330, W0511, E0237, E1101
[tool.pylint.similarities]
# Minimum lines number of a similarity.
min-similarity-lines=15
[tool.pylint.format]
# Maximum number of characters on a single line.
max-line-length=120
[mypy]
ignore_missing_imports=true
[isort]
line_length = 90