We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b59680c commit 5e6cae0Copy full SHA for 5e6cae0
testinfra/utils/__init__.py
@@ -20,7 +20,7 @@ class cached_property:
20
""" # noqa
21
22
def __init__(self, func):
23
- self.__doc__ = getattr(func, '__doc__')
+ self.__doc__ = func.__doc__
24
self.func = func
25
26
def __get__(self, obj, cls):
tox.ini
@@ -16,7 +16,10 @@ passenv=HOME TRAVIS DOCKER_CERT_PATH DOCKER_HOST DOCKER_TLS_VERIFY WSL_DISTRO_NA
16
17
[testenv:lint]
18
description = Performs linting tasks
19
-deps=hacking
+deps=
+ flake8
+ hacking
+ flake8-bugbear
commands=flake8 {posargs}
[testenv:docs]
0 commit comments