Skip to content

Commit

Permalink
Merge 0632ce4 into 6eb8c0a
Browse files Browse the repository at this point in the history
  • Loading branch information
Bachmann1234 committed Dec 1, 2015
2 parents 6eb8c0a + 0632ce4 commit 8fc447f
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 18 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
*.py[cod]

.idea
venv

# C extensions
*.so

Expand Down
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
language: python
matrix:
include:
- python: 3.5
env: TOXENV=py35
env:
- TOXENV=py26
- TOXENV=py27
- TOXENV=py33
- TOXENV=py34
- TOXENV=py35
- TOXENV=pypy
install:
- travis_retry pip install coveralls tox==1.6.1
Expand Down
4 changes: 2 additions & 2 deletions diff_cover/report_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
from abc import ABCMeta, abstractmethod
from jinja2 import Environment, PackageLoader
from jinja2_pluralize import pluralize_dj
from lazy import lazy
from diff_cover.snippets import Snippet
import lazy
import six


Expand Down Expand Up @@ -155,7 +155,7 @@ def total_percent_covered(self):
else:
return 100

@lazy
@lazy.lazy
def _diff_violations(self):
"""
Returns a dictionary of the form:
Expand Down
15 changes: 0 additions & 15 deletions pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,6 @@ reports=no
# (RP0004).
evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)

# Add a comment according to your evaluation note. This is used by the global
# evaluation report (RP0004).
comment=no


[TYPECHECK]

Expand All @@ -100,10 +96,6 @@ ignore-mixin-members=yes
# (useful for classes with attributes dynamically set).
ignored-classes=SQLObject

# 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. Python regular
# expressions are accepted.
Expand All @@ -125,9 +117,6 @@ generated-members=

[BASIC]

# Required attributes for module, separated by a comma
required-attributes=

# List of builtins function names that should not be used, separated by a comma
bad-functions=map,filter,apply,input

Expand Down Expand Up @@ -269,10 +258,6 @@ max-public-methods=20

[CLASSES]

# List of interface methods to ignore, separated by a comma. This is used for
# instance to not check methods defines in Zope's Interface base class.
ignore-iface-methods=isImplementedBy,deferred,extends,names,namesAndDescriptions,queryDescriptionFor,getBases,getDescriptionFor,getDoc,getName,getTaggedValue,getTaggedValueTags,isEqualOrExtendedBy,setTaggedValue,isImplementedByInstancesOf,adaptWith,is_implemented_by

# List of method names used to declare (i.e. assign) instance attributes.
defining-attr-methods=__init__,__new__,setUp

Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py26, py27, py33, py34, pypy
envlist = py26, py27, py33, py34, py35, pypy

[testenv]
whitelist_externals =
Expand Down

0 comments on commit 8fc447f

Please sign in to comment.