diff --git a/.coveragerc b/.coveragerc deleted file mode 100644 index 0dbe0eb..0000000 --- a/.coveragerc +++ /dev/null @@ -1,9 +0,0 @@ -[run] -branch = True -source = src - -[report] -omit = */migrations/*,*/tests/*,tests.py -exclude_lines = - pragma: no cover - noqa diff --git a/.htmlhintrc b/.htmlhintrc deleted file mode 100644 index 7c5d663..0000000 --- a/.htmlhintrc +++ /dev/null @@ -1,21 +0,0 @@ -{ - "tagname-lowercase": true, - "attr-lowercase": true, - "title-require": true, - "src-not-empty": true, - "id-unique": true, - "spec-char-escape": true, - "tag-pair": true, - "doctype-first": false, - "attr-no-duplication": true, - "attr-value-double-quotes": true, - "attr-value-not-empty": false, - "head-script-disabled": true, - "alt-require": true, - "doctype-html5": true, - "inline-style-disabled": true, - "inline-script-disabled": true, - "space-tab-mixed-disabled": "space", - "attr-unsafe-chars": true, - "style-disabled": true -} diff --git a/.pylintrc b/.pylintrc deleted file mode 100644 index 579405d..0000000 --- a/.pylintrc +++ /dev/null @@ -1,83 +0,0 @@ -[MASTER] -persistent=yes -ignore=migrations -cache-size=500 - -[MESSAGES CONTROL] -# C0111 Missing docstring -# I0011 Warning locally suppressed using disable-msg -# I0012 Warning locally suppressed using disable-msg -# W0704 Except doesn't do anything Used when an except clause does nothing but "pass" and there is no "else" clause -# W0142 Used * or * magic* Used when a function or method is called using *args or **kwargs to dispatch arguments. -# W0212 Access to a protected member %s of a client class -# W0232 Class has no __init__ method Used when a class has no __init__ method, neither its parent classes. -# W0613 Unused argument %r Used when a function or method argument is not used. -# W0702 No exception's type specified Used when an except clause doesn't specify exceptions type to catch. -# R0201 Method could be a function -# W0311 Bad indentation (complains about using 4 spaces instead of 1?) -# C0303 Trailing whitespace -# E1101 Instance of '' has no '' member (doesn't work with multiple inheritence?) -# R0801 Similar lines in X files http://stackoverflow.com/questions/12209430/pylint-raising-r0801-for-coding-declaration-lines -# R0901 Too many ancestors (nearly every class-based view) -# R0904 Too many public methods (every ModelAdmin subclass) -disable=C0111,I0011,I0012,W0704,W0142,W0212,W0232,W0613,W0702,R0201,W0311,C0303,E1101,R0801,R0904 - -[REPORTS] -output-format=parseable - - -[BASIC] -no-docstring-rgx=__.*__|_.* -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,k,e,qs,pk,setUp,tearDown - -[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 - -# List of members which are set dynamically and missed by pylint inference -# system, and so shouldn't trigger E0201 when accessed. -generated-members=REQUEST,acl_users,aq_parent,objects,DoesNotExist,id,pk,_meta,base_fields,context - -# 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,TODO - - -[FORMAT] -max-line-length=160 -max-module-lines=500 -indent-string=' ' - - -[DESIGN] -max-args=10 -max-locals=15 -max-returns=6 -max-branchs=12 -max-statements=50 -max-parents=7 -max-attributes=7 -min-public-methods=0 -max-public-methods=50