Skip to content

Minor typo fixes in foreign_key_strings.py #315

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Unreleased
- Start testing with Django 3.2 on Python 3.9 (Michael K.)
- Teach pylint-django about all HTTP methods from the View class, not only
``get`` and ``post`` (Nicolás Quiroz)
- Typo fixes for
`#314 <https://github.com/PyCQA/pylint-django/issues/314>`_ (John Sandall)
- Ignore ``unused-argument`` for ``*args``, ``**kwards`` in view method signatures


Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@
* [brymut](https://github.com/brymut)
* [michael-k](https://github.com/michael-k)
* [naquiroz](https://github.com/naquiroz)
* [john-sandall](https://github.com/john-sandall)
4 changes: 2 additions & 2 deletions pylint_django/checkers/foreign_key_strings.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class ForeignKeyStringsChecker(BaseChecker):
msgs = {
"E%s10"
% BASE_ID: (
"Django was not configured. For more information run"
"Django was not configured. For more information run "
"pylint --load-plugins=pylint_django --help-msg=django-not-configured",
"django-not-configured",
_LONG_MESSAGE,
Expand Down Expand Up @@ -127,7 +127,7 @@ def open(self):
settings.configure()
django.setup()

# now we can add the trasforms specifc to this checker
# Now we can add the transforms specific to this checker
foreignkey.add_transform(astroid.MANAGER)

# TODO: this is a bit messy having so many inline imports but in order to avoid
Expand Down