forked from Zulko/moviepy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
49 lines (47 loc) · 1.43 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
48
49
[flake8]
max-line-length = 88
extend-ignore =
# Black compatibility
E203,
W503,
# allow lambda expressions
E731,
# don't require docstrings for public modules
D100,
# don't require docstrings for public packages
D104,
# don't require docstrings for magic methods
D105,
# don't require summary and description in docstrings
D205,
# allow first line of docstrings not ending in period (too much limited)
D400,
# allow first line of docstrings being not imperative (too much intrusive)
D401,
# allow blank lines between section headers and their content in docstrings
D412,
# allow composed `__all__` statements
RST902
per-file-ignores =
# allow imports not placed at the top of the file
# allow 'from moviepy import *' in editor.py
moviepy/editor.py: E402, F403, F405
# the version file doesn't need module level docstring
moviepy/version.py: D100
# tests doesn't require docstring (although is recommended)
tests/*.py: D103
# allow 'from moviepy import *' in examples
examples/*.py: F403, F405
docstring-convention = numpy
# Complexity should be decreased before uncomment:
#max-complexity = 10
[isort]
lines_after_imports = 2
multi_line_output = 3
line_length = 88
use_parentheses = True
combine_as_imports = True
include_trailing_comma = True
py_version = 36
known_tests = tests
sections = STDLIB,THIRDPARTY,FIRSTPARTY,TESTS,LOCALFOLDER