Skip to content

Commit

Permalink
Removing last pieces of failing tests and tox environments
Browse files Browse the repository at this point in the history
  • Loading branch information
Carl Crowder committed Oct 29, 2023
1 parent af9dc4f commit 11a0bf9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions pylint_django/checkers/foreign_key_strings.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ def open(self):
if hasattr(self, "linter"):
django_settings_module = self.linter.config.django_settings_module
else:
# TODO: remove this no-member ignore : this is to avoid the missing `config` for pylint 3+,
# and can be removed once pylint 2
# pylint: disable=no-member
django_settings_module = self.config.django_settings_module

if django_settings_module is None:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""
Checks that Pylint does not complain about DRF serializers
"""
# pylint: disable=C0111,W5101
# pylint: disable=C0111,W5101,use-symbolic-message-instead

from rest_framework import serializers

Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ commands =
clean: rm -rf build/ .cache/ dist/ .eggs/ pylint_django.egg-info/ .tox/
deps =
flake8: flake8
pylint: pylint
pylint: pylint<3
pylint: Django
readme: twine
readme: wheel
Expand Down

0 comments on commit 11a0bf9

Please sign in to comment.