Remove the UTF-8 coding header

This commit is contained in:
Jérôme Lebleu
2020-01-07 10:16:54 +01:00
parent 74d66c00a0
commit 369d05e1c3
234 changed files with 0 additions and 413 deletions
-2
View File
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""App config for core."""
default_app_config = "modoboa.core.apps.CoreConfig"
-2
View File
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
from django import forms
from django.conf import settings
from django.contrib.auth import password_validation
-2
View File
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""Core config for admin."""
from django.apps import AppConfig
-2
View File
@@ -1,4 +1,2 @@
# -*- coding: utf-8 -*-
# Import these to force registration of checks
from . import settings_checks # NOQA:F401
-2
View File
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
from django.conf import settings
from django.core.checks import Warning, register
from django.utils.translation import ugettext as _
-2
View File
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
import argparse
import os
import sys
-2
View File
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""A shortcut to deploy a fresh modoboa instance."""
import codecs
-2
View File
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
import sys
from . import Command
-2
View File
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""Core application constants."""
from django.utils.translation import ugettext_lazy
-2
View File
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""Custom context processors."""
from functools import reduce
-2
View File
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
# Development settings
import os
-2
View File
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""Extension management."""
from django.conf import settings
-2
View File
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""Factories for core application."""
import factory
-2
View File
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""Core forms."""
from django import forms
-2
View File
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""Modoboa core signal handlers."""
import logging
-2
View File
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
import logging
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""Inactive accounts cleanup tool."""
from dateutil.relativedelta import relativedelta
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
import datetime
import logging
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""Management command to communicate with public API."""
from django.core.management.base import BaseCommand, CommandError
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""Management command to generate/update postfix map files."""
import copy
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""A management command to load Modoboa initial data:
* Create a default super admin if none exists
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""
A simple managemenent command to update the default site.
-2
View File
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""Core middlewares."""
from django.utils.deprecation import MiddlewareMixin
-1
View File
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from django.db import models, migrations
import django.utils.timezone
from django.conf import settings
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from django.db import models, migrations
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from django.db import models, migrations
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from django.db import models, migrations
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from django.db import models, migrations
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from django.db import models, migrations
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from django.db import migrations, models
import django.contrib.auth.models
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.9.5 on 2016-06-15 18:12
from django.db import migrations, models
import django.db.models.deletion
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.9.5 on 2016-10-26 08:03
from django.db import migrations, models
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.9.5 on 2016-10-26 08:11
from django.db import migrations
import jsonfield.fields
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.9.5 on 2016-11-04 21:17
from django.db import migrations
import jsonfield.fields
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-02-15 09:34
from django.db import migrations
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.10.7 on 2017-07-07 08:58
from django.db import migrations, models
import django.utils.timezone
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.10.7 on 2017-10-10 15:46
from django.db import migrations
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11.8 on 2018-01-12 15:42
from django.db import migrations, models
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11.11 on 2018-07-13 08:14
from django.db import migrations, models
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11.18 on 2019-07-05 08:45
from django.db import migrations, models
-2
View File
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""Mocks used for testing."""
import httmock
-2
View File
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""Core models."""
import re
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""
Password hashers for Modoboa.
"""
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""
Advanced (ie. stronger) password hashers.
-2
View File
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""
Base password hashers.
-2
View File
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""Custom password validators."""
from django.core.exceptions import ValidationError
-2
View File
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""Modoboa core signals."""
import django.dispatch
-2
View File
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""Custom tags for Core application."""
import os
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""A stupid extension used for tests."""
from modoboa.core import extensions
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""A stupid extension used for tests."""
from modoboa.core import extensions
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""Custom urls."""
from django.conf.urls import url
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
from django import http
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""Tests for core application."""
import os
-2
View File
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
from django.test import SimpleTestCase
from django.test.utils import override_settings
-2
View File
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""Tests for core application."""
import httmock
-2
View File
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""Extensions management related test cases."""
import os
-2
View File
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""Tests for core application."""
from unittest import skipIf
-2
View File
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""Core views test cases."""
from testfixtures import compare
-2
View File
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""Core urls."""
from django.conf.urls import url
-2
View File
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""Utility functions."""
from pkg_resources import parse_version
-2
View File
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""Core views."""
from .admin import (
-2
View File
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""Views available to super administrators only."""
from functools import reduce
-2
View File
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""Core authentication views."""
import logging
-2
View File
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""Base core views."""
from django.contrib.auth import mixins as auth_mixins
-2
View File
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""Core dashboard views."""
import feedparser
-2
View File
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""Simple user views."""
from django.contrib.auth.decorators import login_required, user_passes_test