Remove encoding specification
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import os
|
||||
import re
|
||||
import sys
|
||||
|
||||
2
setup.py
2
setup.py
@@ -1,5 +1,3 @@
|
||||
# -*- coding:utf-8 -*-
|
||||
|
||||
import os
|
||||
import sys
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
# -*- coding:utf-8 -*-
|
||||
|
||||
# Copyright (c) 2009-2018 - Simon Conseil
|
||||
# Copyright (c) 2013 - Christophe-Marie Duquesne
|
||||
# Copyright (c) 2014 - Jonas Kaufmann
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
# -*- coding:utf-8 -*-
|
||||
|
||||
# Copyright (c) 2009-2018 - Simon Conseil
|
||||
# Copyright (c) 2015 - François D.
|
||||
# Copyright (c) 2018 - Edwin Steele
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
"""Plugin which adjust the image after resizing.
|
||||
|
||||
Based on pilkit's Adjust_ processor.
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
"""Plugin which add a copyright to the image.
|
||||
|
||||
Settings:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright (c) 2009-2018 - Simon Conseil
|
||||
# Copyright (c) 2014 - Jamie Starke
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
# -*- coding:utf-8 -*-
|
||||
|
||||
# Copyright (c) 2009-2018 - Simon Conseil
|
||||
# Copyright (c) 2013 - Christophe-Marie Duquesne
|
||||
# Copyright (c) 2017 - Mate Lakat
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from blinker import signal
|
||||
|
||||
img_resized = signal('img_resized')
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
# -*- coding:utf-8 -*-
|
||||
|
||||
# Copyright (c) 2013 - Christophe-Marie Duquesne
|
||||
# Copyright (c) 2013-2018 - Simon Conseil
|
||||
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
# -*- coding:utf-8 -*-
|
||||
|
||||
# Copyright (c) 2009-2018 - Simon Conseil
|
||||
# Copyright (c) 2013 - Christophe-Marie Duquesne
|
||||
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import blinker
|
||||
import os
|
||||
import PIL
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
author = 'John Doe'
|
||||
title = 'Sigal test gallery ☺'
|
||||
source = 'pictures'
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import logging
|
||||
import os
|
||||
from click.testing import CliRunner
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
# -*- coding:utf-8 -*-
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
# -*- coding:utf-8 -*-
|
||||
|
||||
import os
|
||||
import pickle
|
||||
import pytest
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
# -*- coding:utf-8 -*-
|
||||
|
||||
import locale
|
||||
import logging
|
||||
import os
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
# -*- coding:utf-8 -*-
|
||||
|
||||
import os
|
||||
import PIL
|
||||
import pytest
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
# -*- coding:utf-8 -*-
|
||||
|
||||
import os
|
||||
|
||||
from sigal.gallery import Gallery
|
||||
|
||||
@@ -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')
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import os
|
||||
from sigal import utils
|
||||
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
# -*- coding:utf-8 -*-
|
||||
|
||||
import os
|
||||
import pytest
|
||||
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
# -*- coding:utf-8 -*-
|
||||
|
||||
import os
|
||||
import glob
|
||||
import zipfile
|
||||
|
||||
Reference in New Issue
Block a user