setup.cfg 1.15 KB
Newer Older
1 2
[nosetests]
logging-clear-handlers=1
3
with-ignore-docstrings=1
4 5
exclude-dir=lms/envs
            cms/envs
6

7 8 9 10
# Without this flag, nose adds /lib directories to the path,
# which shadows the xblock library (among other things)
no-path-adjustment=1

11 12
process-timeout=300

Calen Pennington committed
13 14
# Uncomment the following lines to open pdb when a test fails
#nocapture=1
15
#pdb=1
16 17

[pep8]
18 19 20 21 22 23 24 25 26 27 28 29
# error codes: http://pep8.readthedocs.org/en/latest/intro.html#error-codes
# E501: line too long
# E265: block comment should start with ‘# ‘
#   We have lots of comments that look like "##### HEADING #####" which violate
#   this rule, because they don't have a space after the first #. However,
#   they're still perfectly reasonable comments, so we disable this rule.
# W602: deprecated form of raising exception
#   We do this in a few places to modify the exception message while preserving
#   the traceback. See this blog post for more info:
#   http://nedbatchelder.com/blog/200711/rethrowing_exceptions_in_python.html
#   It's a little unusual, but we have good reasons for doing so, so we disable
#   this rule.
30
ignore=E501,E265,W602
31
exclude=migrations,.git,.pycharm_helpers,test_root/staticfiles,node_modules