Skip to content

Commit

Permalink
Fixed pylint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisspen committed Jun 26, 2024
1 parent e46d6e1 commit 6228fba
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions chroniker/admin.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
from django import forms
from django.conf import settings
from django.conf.urls import url
from django.conf.urls import re_path as url
from django.contrib import admin
from django.core.management import get_commands
from django.urls import reverse, NoReverseMatch
from django.db import models
from django.forms import TextInput
from django.shortcuts import render
from django.utils.encoding import force_text
from django.utils.encoding import force_str as force_text
from django.http import HttpResponseRedirect, Http404, HttpResponse
from django.utils import dateformat, timezone
from django.utils.datastructures import MultiValueDict
Expand Down
2 changes: 1 addition & 1 deletion chroniker/constants.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _

YEARLY = 'YEARLY'
MONTHLY = 'MONTHLY'
Expand Down
2 changes: 1 addition & 1 deletion chroniker/management/commands/cronserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from django.core.management.base import BaseCommand
from django.core.management import call_command
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _

logger = logging.getLogger('chroniker.commands.cronserver')

Expand Down
2 changes: 1 addition & 1 deletion chroniker/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
from django.utils.encoding import smart_str
from django.utils.safestring import mark_safe
from django.utils.timesince import timeuntil
from django.utils.translation import ungettext, ugettext, ugettext_lazy as _
from django.utils.translation import ngettext as ungettext, gettext as ugettext, gettext_lazy as _
from django.core.exceptions import ValidationError
from django.utils.html import format_html
from toposort import toposort_flatten
Expand Down

0 comments on commit 6228fba

Please sign in to comment.