Skip to content

Commit

Permalink
Remove encoding declaration.
Browse files Browse the repository at this point in the history
This was an oversight and not needed if it's UTF-8
Removed Flake 8
  • Loading branch information
rh0dium committed Nov 12, 2024
1 parent e5b924b commit a2d40b4
Show file tree
Hide file tree
Showing 23 changed files with 0 additions and 38 deletions.
12 changes: 0 additions & 12 deletions .flake8

This file was deleted.

1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ repos:
- id: check-merge-conflict
- id: check-symlinks
- id: detect-private-key
- id: fix-encoding-pragma
- id: end-of-file-fixer
exclude: .idea/.*|.*\.blg|.*\.json|.*\.dat
- id: trailing-whitespace
Expand Down
1 change: 0 additions & 1 deletion demo_app/demo_app/settings.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
Django settings for demo_app project.
Expand Down
2 changes: 0 additions & 2 deletions demo_app/demo_app/settings_test.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

import os
import warnings

Expand Down
1 change: 0 additions & 1 deletion demo_app/demo_app/urls.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""demo_app URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
Expand Down
1 change: 0 additions & 1 deletion demo_app/demo_app/wsgi.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
WSGI config for demo_app project.
Expand Down
1 change: 0 additions & 1 deletion demo_app/manage.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Django's command-line utility for administrative tasks."""

import os
Expand Down
1 change: 0 additions & 1 deletion django_states/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
State engine for django models.
Expand Down
3 changes: 0 additions & 3 deletions django_states/compat.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# -*- coding: utf-8 -*-


def curry(_curried_func, *args, **kwargs):
def _curried(*moreargs, **morekwargs):
return _curried_func(*args, *moreargs, **{**kwargs, **morekwargs})
Expand Down
1 change: 0 additions & 1 deletion django_states/conf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""Configuration options"""

from django.conf import settings
Expand Down
1 change: 0 additions & 1 deletion django_states/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""Declared Exceptions"""


Expand Down
1 change: 0 additions & 1 deletion django_states/fields.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""Fields used"""

__all__ = ("StateField",)
Expand Down
1 change: 0 additions & 1 deletion django_states/log.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""log model"""

import json
Expand Down
1 change: 0 additions & 1 deletion django_states/machine.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""State Machine"""

__all__ = ("StateMachine", "StateDefinition", "StateTransition")
Expand Down
2 changes: 0 additions & 2 deletions django_states/management/commands/graph_states2.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

import logging
from optparse import make_option

Expand Down
1 change: 0 additions & 1 deletion django_states/model_methods.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""Model Methods"""

import json
Expand Down
1 change: 0 additions & 1 deletion django_states/models.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""Models"""

import six
Expand Down
1 change: 0 additions & 1 deletion django_states/signals.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""Signals"""

import django.dispatch
Expand Down
1 change: 0 additions & 1 deletion django_states/templatetags/django_states.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from django.template import Node, Variable
from django.template import Library

Expand Down
1 change: 0 additions & 1 deletion django_states/tests/test_state_machine.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""Tests"""

from django.contrib.auth.models import User
Expand Down
1 change: 0 additions & 1 deletion django_states/urls.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""Urls"""

from django.urls import path
Expand Down
1 change: 0 additions & 1 deletion django_states/views.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""Views"""

from django.apps import apps
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ dependencies = [
test = [
"django-environ",
"mysqlclient",
"flake8",
"coverage",
"pre-commit",
"black",
Expand Down

0 comments on commit a2d40b4

Please sign in to comment.