Skip to content

Commit

Permalink
feat: Adding python3.11 support.
Browse files Browse the repository at this point in the history
  • Loading branch information
awais786 committed Apr 9, 2024
1 parent 922a9b5 commit 63a12d3
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 9 deletions.
1 change: 0 additions & 1 deletion edx_name_affirmation/models.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# pylint: disable=import-error
"""
Database models for edx_name_affirmation.
"""
Expand Down
2 changes: 1 addition & 1 deletion edx_name_affirmation/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import re

from rest_framework import serializers # pylint: disable=import-error
from rest_framework import serializers

from django.contrib.auth import get_user_model

Expand Down
2 changes: 1 addition & 1 deletion edx_name_affirmation/tasks.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# pylint: disable=logging-format-interpolation, unused-argument,import-error
# pylint: disable=logging-format-interpolation, unused-argument
"""
Name affirmation celery tasks
"""
Expand Down
2 changes: 1 addition & 1 deletion edx_name_affirmation/tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Tests for the `edx_name_affirmation` Python API.
"""

import ddt # pylint: disable=import-error
import ddt

from django.contrib.auth import get_user_model
from django.core.cache import cache
Expand Down
1 change: 0 additions & 1 deletion edx_name_affirmation/tests/test_handlers.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# pylint: disable=import-error
"""
Tests for Name Affirmation signal handlers
"""
Expand Down
2 changes: 1 addition & 1 deletion edx_name_affirmation/tests/test_name_change_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""


import ddt # pylint: disable=import-error
import ddt

from django.test import TestCase

Expand Down
1 change: 0 additions & 1 deletion edx_name_affirmation/tests/test_tasks.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# pylint: disable=import-error
"""
Tests for Name Affirmation tasks
"""
Expand Down
2 changes: 1 addition & 1 deletion edx_name_affirmation/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
import json

import ddt # pylint: disable=import-error
import ddt

from django.contrib.auth import get_user_model
from django.core.cache import cache
Expand Down
1 change: 0 additions & 1 deletion edx_name_affirmation/views.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# pylint: disable=import-error
"""
Name Affirmation HTTP-based API endpoints
"""
Expand Down

0 comments on commit 63a12d3

Please sign in to comment.