Skip to content

Commit

Permalink
Add handlers to good_names. Fixes #248
Browse files Browse the repository at this point in the history
  • Loading branch information
atodorov committed Nov 23, 2019
1 parent a815175 commit 927fbe7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pylint_django/plugin.py
Expand Up @@ -15,7 +15,8 @@ def load_configuration(linter):
Amend existing checker config.
"""
name_checker = get_checker(linter, NameChecker)
name_checker.config.good_names += ('qs', 'urlpatterns', 'register', 'app_name', 'handler500')
name_checker.config.good_names += ('qs', 'urlpatterns', 'register', 'app_name',
'handler400', 'handler403', 'handler404', 'handler500')

# we don't care about South migrations
linter.config.black_list += ('migrations', 'south_migrations')
Expand Down

0 comments on commit 927fbe7

Please sign in to comment.