Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
eht16 committed Jan 15, 2023
1 parent 144b440 commit e3eeb62
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
3 changes: 0 additions & 3 deletions pastebin/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

from datetime import timedelta

from django import forms
from django.utils import timezone
from django.utils.translation import gettext_lazy as _

from pastebin.highlight import LEXER_DEFAULT, LEXER_LIST
Expand Down
1 change: 0 additions & 1 deletion pastebin/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

from django.urls import path, re_path
from django.views.decorators.cache import never_cache
from django.views.generic.base import TemplateView

from pastebin.views import (
LatestSnippetsView,
Expand Down
4 changes: 0 additions & 4 deletions pastebin/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,6 @@ class SnippetNotFoundError(Exception):
class SnippetDetailView(View):
template_name = 'pastebin/snippet_details.html'

# ----------------------------------------------------------------------
def dispatch(self, request, *args, **kwargs):
return super().dispatch(request, *args, **kwargs)

# ----------------------------------------------------------------------
def get(self, request, snippet_id):
# load snippet
Expand Down

0 comments on commit e3eeb62

Please sign in to comment.