pylint karma
parent
e16438a377
commit
d5094ee42b
@ -0,0 +1,24 @@
|
|||||||
|
[MASTER]
|
||||||
|
|
||||||
|
[MESSAGES CONTROL]
|
||||||
|
disable =
|
||||||
|
ungrouped-imports,
|
||||||
|
bad-continuation,
|
||||||
|
missing-docstring,
|
||||||
|
no-self-use,
|
||||||
|
superfluous-parens,
|
||||||
|
invalid-name,
|
||||||
|
line-too-long,
|
||||||
|
too-many-arguments,
|
||||||
|
too-many-branches,
|
||||||
|
too-many-statements,
|
||||||
|
too-many-locals,
|
||||||
|
too-few-public-methods,
|
||||||
|
wrong-import-order,
|
||||||
|
duplicate-code
|
||||||
|
|
||||||
|
# allow indented whitespace (as required by interpreter):
|
||||||
|
no-space-check=empty-line
|
||||||
|
|
||||||
|
# allow non-snake-case identifiers:
|
||||||
|
good-names=n,i
|
@ -1,4 +1,4 @@
|
|||||||
import json
|
import json
|
||||||
from pkg_resources import resource_string
|
from pkg_resources import resource_string
|
||||||
|
|
||||||
OCRD_TOOL = json.loads(resource_string(__name__, 'ocrd-tool.json').decode('utf8'))
|
OCRD_TOOL = json.loads(resource_string(__name__, 'ocrd-tool.json').decode('utf8'))
|
||||||
|
Loading…
Reference in New Issue