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 e43c7d7 commit 3e4fc69Copy full SHA for 3e4fc69
pylint_django/augmentations/__init__.py
@@ -1,5 +1,6 @@
1
"""Augmentations."""
2
# pylint: disable=invalid-name
3
+import functools
4
import itertools
5
6
from astroid import InferenceError
@@ -739,6 +740,7 @@ def is_class(class_name):
739
740
741
742
def wrap(orig_method, with_method):
743
+ @functools.wraps(orig_method)
744
def wrap_func(*args, **kwargs):
745
with_method(orig_method, *args, **kwargs)
746
return wrap_func
0 commit comments