Skip to content

Commit

Permalink
Fix isort/black incompatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
jezdez committed Jun 12, 2019
1 parent 02e614a commit f8dd4e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ line-length = 100
exclude = "migrations/"

[tool.isort]
line-length = 100
line_length = 100
default_section = "THIRDPARTY"
known_first_party = "server,helpers"
skip_glob = "**/migrations/*"
# For compatibility with black:
multi_line_output = 3
include_trailing_comma = "True"
force_grid_wrap = 0
use_parentheses = "True"
6 changes: 1 addition & 5 deletions server/permissions.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
from django.conf import settings
from rest_framework.permissions import (
BasePermission,
IsAuthenticated,
IsAuthenticatedOrReadOnly,
)
from rest_framework.permissions import BasePermission, IsAuthenticated, IsAuthenticatedOrReadOnly


class RestrictedOrNot(BasePermission):
Expand Down

0 comments on commit f8dd4e8

Please sign in to comment.