Remove encoding specification

This commit is contained in:
Simon Conseil
2018-08-27 00:15:17 +02:00
parent 915030a2f3
commit 23cc8a994b
33 changed files with 2 additions and 74 deletions

View File

@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
import os
import re
import sys

View File

@@ -1,5 +1,3 @@
# -*- coding:utf-8 -*-
import os
import sys
from setuptools import setup, find_packages

View File

@@ -1,5 +1,3 @@
# -*- coding:utf-8 -*-
# Copyright (c) 2009-2018 - Simon Conseil
# Permission is hereby granted, free of charge, to any person obtaining a copy

View File

@@ -1,5 +1,3 @@
# -*- coding:utf-8 -*-
# Copyright (c) 2009-2018 - Simon Conseil
# Copyright (c) 2013 - Christophe-Marie Duquesne
# Copyright (c) 2014 - Jonas Kaufmann

View File

@@ -1,5 +1,3 @@
# -*- coding:utf-8 -*-
# Copyright (c) 2009-2018 - Simon Conseil
# Copyright (c) 2015 - François D.
# Copyright (c) 2018 - Edwin Steele

View File

@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2013-2018 - Simon Conseil
# Permission is hereby granted, free of charge, to any person obtaining a copy

View File

@@ -1,5 +1,3 @@
# -*- coding:utf-8 -*-
# Copyright (c) 2013-2018 - Simon Conseil
# Permission is hereby granted, free of charge, to any person obtaining a copy

View File

@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""Plugin which adjust the image after resizing.
Based on pilkit's Adjust_ processor.

View File

@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""Plugin which add a copyright to the image.
Settings:

View File

@@ -1,5 +1,3 @@
# encoding: utf-8
# Copyright 2017 - Tilman 't.animal' Adler
# Permission is hereby granted, free of charge, to any person obtaining a copy

View File

@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""Plugin which add RSS/ATOM feeds.
This plugin requires feedgenerator_. It uses all the images and videos of the

View File

@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2009-2018 - Simon Conseil
# Copyright (c) 2014 - Jamie Starke

View File

@@ -1,5 +1,3 @@
# encoding: utf-8
# Copyright 2017 - Tilman 't.animal' Adler
# Permission is hereby granted, free of charge, to any person obtaining a copy

View File

@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""Plugin to upload generated files to Amazon S3.
This plugin requires boto_. All generated files are uploaded to a specified S3

View File

@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2005 - Shane Hathaway (http://code.activestate.com/recipes/362879-watermark-with-pil/)
# Copyright (c) 2015 - Abdul Qabiz

View File

@@ -1,5 +1,3 @@
# -*- coding:utf-8 -*-
# Copyright (c) 2009-2018 - Simon Conseil
# Copyright (c) 2013 - Christophe-Marie Duquesne
# Copyright (c) 2017 - Mate Lakat

View File

@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
from blinker import signal
img_resized = signal('img_resized')

View File

@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
#
# All configuration values have a default; values that are commented out serve
# to show the default. Default values are specified when modified in this
# example config file

View File

@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2011-2018 - Simon Conseil
# Permission is hereby granted, free of charge, to any person obtaining a copy

View File

@@ -1,5 +1,3 @@
# -*- coding:utf-8 -*-
# Copyright (c) 2013 - Christophe-Marie Duquesne
# Copyright (c) 2013-2018 - Simon Conseil

View File

@@ -1,5 +1,3 @@
# -*- coding:utf-8 -*-
# Copyright (c) 2009-2018 - Simon Conseil
# Copyright (c) 2013 - Christophe-Marie Duquesne

View File

@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
import blinker
import os
import PIL

View File

@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
author = 'John Doe'
title = 'Sigal test gallery ☺'
source = 'pictures'

View File

@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
import logging
import os
from click.testing import CliRunner

View File

@@ -1,5 +1,3 @@
# -*- coding:utf-8 -*-
import os
import sys

View File

@@ -1,5 +1,3 @@
# -*- coding:utf-8 -*-
import os
import pickle
import pytest

View File

@@ -1,5 +1,3 @@
# -*- coding:utf-8 -*-
import locale
import logging
import os

View File

@@ -1,5 +1,3 @@
# -*- coding:utf-8 -*-
import os
import PIL
import pytest

View File

@@ -1,5 +1,3 @@
# -*- coding:utf-8 -*-
import os
from sigal.gallery import Gallery

View File

@@ -1,5 +1,3 @@
# -*- coding:utf-8 -*-
import os
from sigal.settings import read_settings, get_thumb
@@ -35,10 +33,7 @@ def test_img_sizes(tmpdir):
"""Test that image size is swaped if needed."""
conf = tmpdir.join('sigal.conf.py')
conf.write("""# -*- coding: utf-8 -*-
thumb_size = (150, 200)
""")
conf.write("thumb_size = (150, 200)")
settings = read_settings(str(conf))
assert settings['thumb_size'] == (200, 150)
@@ -50,10 +45,7 @@ def test_theme_path(tmpdir):
tmpdir.join('theme').mkdir()
tmpdir.join('theme').join('templates').mkdir()
conf = tmpdir.join('sigal.conf.py')
conf.write("""# -*- coding: utf-8 -*-
theme = 'theme'
""")
conf.write("theme = 'theme'")
settings = read_settings(str(conf))
assert settings['theme'] == tmpdir.join('theme')

View File

@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
import os
from sigal import utils

View File

@@ -1,5 +1,3 @@
# -*- coding:utf-8 -*-
import os
import pytest

View File

@@ -1,5 +1,3 @@
# -*- coding:utf-8 -*-
import os
import glob
import zipfile