forked from OddBloke/sphinx-git
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Daniel Watkins
committed
Nov 26, 2013
1 parent
3f30b6c
commit c532bfe
Showing
3 changed files
with
65 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
[MASTER] | ||
profile=no | ||
persistent=yes | ||
cache-size=500 | ||
|
||
[MESSAGES CONTROL] | ||
# I0011 Warning locally suppressed using disable-msg | ||
# I0012 Warning locally suppressed using disable-msg | ||
# W0142 Used * or * magic* Used when a function or method is called using *args or **kwargs to dispatch arguments. | ||
# C0111 Missing docstring | ||
disable=I0011,I0012,W0142,C0111 | ||
|
||
[REPORTS] | ||
msg-template={path}:{line}: [{msg_id}({symbol}), {obj}] {msg} | ||
symbols=yes | ||
files-output=n | ||
reports=no | ||
|
||
[BASIC] | ||
no-docstring-rgx=__.*__|_.*|Test.*|test.*|.*Test|.*Tests|tests | ||
class-rgx=[A-Z_][a-zA-Z0-9_]+$ | ||
function-rgx=[a-zA_][a-zA-Z0-9_]{2,70}$ | ||
method-rgx=[a-z_][a-zA-Z0-9_]{2,70}$ | ||
const-rgx=(([A-Z_][A-Z0-9_]*)|([a-z_][a-z0-9_]*)|(__.*__)|register|urlpatterns)$ | ||
good-names=_,__,i,j,n,pk,id,setUp,tearDown,qs,fn | ||
|
||
[TYPECHECK] | ||
|
||
# Tells whether missing members accessed in mixin class should be ignored. A | ||
# mixin class is detected if its name ends with "mixin" (case insensitive). | ||
ignore-mixin-members=yes | ||
|
||
# List of classes names for which member attributes should not be checked | ||
# (useful for classes with attributes dynamically set). | ||
ignored-classes=SQLObject,WSGIRequest | ||
|
||
# When zope mode is activated, add a predefined set of Zope acquired attributes | ||
# to generated-members. | ||
zope=no | ||
|
||
# List of members which are set dynamically and missed by pylint inference | ||
# system, and so shouldn't trigger E0201 when accessed. | ||
generated-members=client,objects,DoesNotExist,id,pk,_meta,base_fields,context,__subclasses__,modifiers,Modifiers,refs,.*_set | ||
|
||
# List of method names used to declare (i.e. assign) instance attributes | ||
defining-attr-methods=__init__,__new__,setUp | ||
|
||
|
||
[VARIABLES] | ||
init-import=no | ||
dummy-variables-rgx=_|dummy | ||
|
||
[SIMILARITIES] | ||
min-similarity-lines=6 | ||
ignore-comments=yes | ||
ignore-docstrings=yes | ||
|
||
[MISCELLANEOUS] | ||
notes=FIXME,XXX | ||
|
||
[FORMAT] | ||
max-module-lines=500 | ||
indent-string=' ' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,5 @@ python: | |
- "2.7" | ||
script: | ||
- pep8 sphinx_git.py tests/ | ||
- pylint --rcfile=.pylintrc sphinx_git.py | ||
- nosetests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ BeautifulSoup | |
mock | ||
nose | ||
pep8 | ||
pylint | ||
unittest2 | ||
|
||
-e . |