forked from catmaid/CATMAID
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.cfg
More file actions
77 lines (73 loc) · 1.93 KB
/
Copy pathsetup.cfg
File metadata and controls
77 lines (73 loc) · 1.93 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
[mypy]
check_untyped_defs = True
ignore_missing_imports = True
warn_incomplete_stub = False
[mypy-applications.catmaid.migrations.*]
ignore_errors = True
[mypy-applications.catmaid.tests.*]
ignore_errors = True
[mypy-create_configuration]
ignore_errors = True
[flake8]
max-line-length = 120
exclude =
.git,
__pycache__,
scripts/*,
sphinx-doc/source/conf.py,
django/applications/catmaid/migrations/*
ignore =
#continuation line over-indented for hanging indent
E126,
#continuation line over-indented for visual indent
E127,
#continuation line under-indented for visual indent
E128,
#whitespace after '{'
E201,
#whitespace before '}'
E202,
#missing whitespace around operator
E225,
#missing whitespace around arithmetic operator
E226,
#missing whitespace after ','
E231,
#multiple spaces after ','
E241,
#unexpected spaces around keyword / parameter equals
E251,
#missing whitespace around parameter equals
E252,
#at least two spaces before inline comment
E261,
#block comment should start with '# '
E265,
#expected 2 blank lines, found 1
E302,
#too many blank lines (2)
E303,
#expected 2 blank lines after class or function definition, found 0
E305,
#module level import not at top of file
E402,
#line too long (135 > 120 characters)
E501,
#the backslash is redundant between brackets
E502,
#do not use bare 'except'
E722,
#do not assign a lambda expression, use a def
E731,
#'typing.Dict' imported but unused
F401,
#'from catmaid.models import *' used; unable to detect undefined names
F403,
#'User' may be undefined, or defined from star imports: catmaid.fields, catmaid.models
F405,
#local variable 'ClientDatastore' is assigned to but never used
F841,
#line break before binary operator
W503,
#line break after binary operator
W504,