-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
44 lines (41 loc) · 1.11 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
[metadata]
name = ClyphX
version = attr: clyphx.__version__
license_files = COPYING; COPYING.LESSER
long_description = file: README.md
long_description_content_type = text/markdown
[mypy]
python_version = 2.7
allow_redefinition = true
check_untyped_defs = true
ignore_missing_imports = true
implicit_reexport = true
local_partial_types = true
strict_optional = true
strict_equality = false
no_implicit_optional = false
warn_unused_ignores = true
warn_redundant_casts = true
warn_return_any = true
warn_unused_configs = true
warn_unreachable = true
warn_no_return = false
[flake8]
ignore =
E221, # multiple spaces before operator
E241, # multiple spaces after ':'
E251, # unexpected spaces around keyword / parameter equals
E303, # too many blank lines (2)
E731, # do not assign a lambda expression, use a def
W503, # line break before binary operator
exclude =
.git,
__pycache__,
.pytest_cache,
max-complexity = 18 # ClyphX.handle_action_list_trigger()
max-line-length = 99
per-file-ignores =
**/__init__.py: E402, F401,
inline-quotes = '
multiline-quotes = '''
docstring-quotes = '''