-
Notifications
You must be signed in to change notification settings - Fork 28
/
setup.cfg
52 lines (48 loc) · 2.15 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
50
51
52
[pycodestyle]
max-line-length=130
exclude=migrations,.git
[pydocstyle]
# error codes: https://pycodestyle.readthedocs.io/en/latest/intro.html#error-codes
;D100 Missing docstring in public module
;D101 Missing docstring in public class
;D102 Missing docstring in public method
;D104 Missing docstring in public package
;D105 Missing docstring in magic method
;D106 Missing docstring in public nested class
;D107 Missing docstring in __init__
;D200 One-line docstring should fit on one line with quotes
;D203 1 blank line required before class docstring
;D204: 1 blank line required after
;D205 1 blank line required between summary line and description
;D206 Docstring should be indented with spaces, not tabs
;D207 Docstring is under-indented
;D208 Docstring is over-indented
;D214 Section is over-indented
;D400 First line should end with a period
;D401 First line should be in imperative mood try rephrasing
;D402 First line should not be the functions signature
;D403 First word of the first line should be properly capitalized
;D404 First word of the docstring should not be This
;D406 Section name should end with a newline
;D407 Missing dashed underline after section
;D408 Section underline should be in the line following the sections name
;D409 Section underline should match the length of its name
;D410 Missing blank line after section
;D411 Missing blank line before section
;D413 Missing blank line after last section
;D415 First line should end with a period
;D417 Missing argument descriptions in the docstring
ignore = D100, D101, D102, D104, D105, D106, D107, D200, D203, D204, D205, D210, D212, D213, D214, D400 ,D401, D403, D404, D406, D407, D408, D409, D410, D413, D415, D417
[isort]
default_section=FIRSTPARTY
line_length=120
multi_line_output=3
include_trailing_comma=True
known_third_party=pandas,ddt,httpretty,mock,freezegun,rest_framework,fs,lxml,pysrt,django,TimeStampedModel,pysrt,edx_rest_framework_extensions,model_utils
skip=
edxval/migrations/
edxval/wsgi.py
[tool:pytest]
DJANGO_SETTINGS_MODULE = edxval.settings.test
addopts = --cov edxval --cov-report term-missing --cov-report xml
norecursedirs = .* docs requirements video-images video-transcripts