Skip to content

Commit 54455c9

Browse files
committed
Add load_configuration() in pylint_django.__init__. Fixes #222
If you invoke the plugin like so: pylint --load-plugins pylint_django.plugin configuration is applied this patch makes it possible to invoke it also like this: pylint --load-plugins pylint_django which is more common.
1 parent d57a755 commit 54455c9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pylint_django/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@
1010
"Please migrate to Python 3!")
1111

1212
register = plugin.register # pylint: disable=invalid-name
13+
load_configuration = plugin.load_configuration # pylint: disable=invalid-name

0 commit comments

Comments
 (0)