Skip to content

Commit ae1b404

Browse files
committed
Tidying up a couple of errors pointed out by Landscape
1 parent f41e73e commit ae1b404

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pylint_celery/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from astroid import nodes
44

55

6-
def register(linter):
6+
def register(_):
77
# this method is expected by pylint for plugins, however we don't
88
# want to register any checkers
99
pass
@@ -25,10 +25,10 @@ def transform(module):
2525
def celery_transform(module):
2626
fake = AstroidBuilder(MANAGER).string_build('''
2727
class task_dummy(object):
28-
def __call__(self):
29-
pass
28+
def __call__(self):
29+
pass
3030
''')
3131
module.locals['task'] = fake.locals['task_dummy']
3232

3333

34-
MODULE_TRANSFORMS['celery'] = celery_transform
34+
MODULE_TRANSFORMS['celery'] = celery_transform

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy