Skip to content

Commit

Permalink
Format + lint
Browse files Browse the repository at this point in the history
  • Loading branch information
he3lixxx committed Jun 12, 2023
1 parent 403e5b0 commit b29d624
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion evap/evaluation/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

from django import forms
from django.conf import settings
from django.core.exceptions import ValidationError
from django.contrib.auth import authenticate
from django.core.exceptions import ValidationError
from django.utils.translation import gettext_lazy as _
from django.views.decorators.debug import sensitive_variables

Expand Down
3 changes: 1 addition & 2 deletions evap/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,8 +367,7 @@


### Allowed chosen first names / display names

def CHARACTER_ALLOWED_IN_NAME(character):
def CHARACTER_ALLOWED_IN_NAME(character): # pylint: disable=invalid-name
return any((
ord(character) in range(32, 127),
ord(character) in range(160, 256),
Expand Down

0 comments on commit b29d624

Please sign in to comment.