Skip to content

Commit

Permalink
Fix coding declaration in a few places it was still wrong
Browse files Browse the repository at this point in the history
Again, fuck windows. sopel-irc#821
  • Loading branch information
embolalia authored and fatalis committed Jan 7, 2016
1 parent ecb4d43 commit 416c87b
Show file tree
Hide file tree
Showing 52 changed files with 52 additions and 52 deletions.
2 changes: 1 addition & 1 deletion pytest_run.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python
# coding=utf8
# coding=utf-8
"""This is a script for running pytest from the command line.
This script exists so that the project directory gets added to sys.path, which
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python
# coding=utf8
# coding=utf-8
from __future__ import unicode_literals, print_function

from sopel import __version__
Expand Down
2 changes: 1 addition & 1 deletion sopel/config/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""
*Availability: 3+; 6+ for configuration section definitions.*
Expand Down
2 changes: 1 addition & 1 deletion sopel/config/core_section.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8

from __future__ import unicode_literals, absolute_import, print_function, division

Expand Down
2 changes: 1 addition & 1 deletion sopel/config/types.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""Types for creating section definitions.
A section definition consists of a subclass of ``StaticSection``, on which any
Expand Down
2 changes: 1 addition & 1 deletion sopel/modules/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# coding=utf8
# coding=utf-8
from __future__ import unicode_literals, absolute_import, print_function, division
2 changes: 1 addition & 1 deletion sopel/modules/admin.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""
admin.py - Sopel Admin Module
Copyright 2010-2011, Sean B. Palmer (inamidst.com) and Michael Yanovich
Expand Down
2 changes: 1 addition & 1 deletion sopel/modules/adminchannel.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""
admin.py - Sopel Admin Module
Copyright 2010-2011, Michael Yanovich, Alek Rollyson, and Edward Powell
Expand Down
2 changes: 1 addition & 1 deletion sopel/modules/announce.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""
announce.py - Send a message to all channels
Copyright © 2013, Elad Alfassa, <elad@fedoraproject.org>
Expand Down
2 changes: 1 addition & 1 deletion sopel/modules/bugzilla.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""Bugzilla issue reporting module
Copyright 2013-2015, Embolalia, embolalia.com
Expand Down
2 changes: 1 addition & 1 deletion sopel/modules/calc.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""
calc.py - Sopel Calculator Module
Copyright 2008, Sean B. Palmer, inamidst.com
Expand Down
2 changes: 1 addition & 1 deletion sopel/modules/clock.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""
clock.py - Sopel Clock Module
Copyright 2008-9, Sean B. Palmer, inamidst.com
Expand Down
2 changes: 1 addition & 1 deletion sopel/modules/countdown.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""
countdown.py - Sopel Countdown Module
Copyright 2011, Michael Yanovich, yanovich.net
Expand Down
2 changes: 1 addition & 1 deletion sopel/modules/currency.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""currency.py - Sopel Exchange Rate Module
Copyright 2013 Edward Powell, embolalia.com
Licensed under the Eiffel Forum License 2
Expand Down
2 changes: 1 addition & 1 deletion sopel/modules/dice.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""
dice.py - Dice Module
Copyright 2010-2013, Dimitri "Tyrope" Molenaars, TyRope.nl
Expand Down
2 changes: 1 addition & 1 deletion sopel/modules/etymology.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""
etymology.py - Sopel Etymology Module
Copyright 2007-9, Sean B. Palmer, inamidst.com
Expand Down
2 changes: 1 addition & 1 deletion sopel/modules/find.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""
find.py - Sopel Spelling correction module
Copyright 2011, Michael Yanovich, yanovich.net
Expand Down
2 changes: 1 addition & 1 deletion sopel/modules/find_updates.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""
find_updates.py - Update checking module for Sopel.
Expand Down
2 changes: 1 addition & 1 deletion sopel/modules/help.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""
help.py - Sopel Help Module
Copyright 2008, Sean B. Palmer, inamidst.com
Expand Down
2 changes: 1 addition & 1 deletion sopel/modules/ip.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""GeoIP lookup module"""
# Copyright 2011, Dimitri Molenaars, TyRope.nl,
# Copyright © 2013, Elad Alfassa <elad@fedoraproject.org>
Expand Down
2 changes: 1 addition & 1 deletion sopel/modules/ipython.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""
ipython.py - sopel ipython console!
Copyright © 2014, Elad Alfassa <elad@fedoraproject.org>
Expand Down
2 changes: 1 addition & 1 deletion sopel/modules/isup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""
isup.py - Simple website status check with isup.me
Author: Edward Powell http://embolalia.net
Expand Down
2 changes: 1 addition & 1 deletion sopel/modules/lmgtfy.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""
lmgtfy.py - Sopel Let me Google that for you module
Copyright 2013, Dimitri Molenaars http://tyrope.nl/
Expand Down
2 changes: 1 addition & 1 deletion sopel/modules/meetbot.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""
meetbot.py - Sopel meeting logger module
Copyright © 2012, Elad Alfassa, <elad@fedoraproject.org>
Expand Down
2 changes: 1 addition & 1 deletion sopel/modules/movie.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""
imdb.py - Sopel Movie Information Module
Copyright © 2012-2013, Elad Alfassa, <elad@fedoraproject.org>
Expand Down
2 changes: 1 addition & 1 deletion sopel/modules/ping.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""
ping.py - Sopel Ping Module
Author: Sean B. Palmer, inamidst.com
Expand Down
2 changes: 1 addition & 1 deletion sopel/modules/rand.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""
rand.py - Rand Module
Copyright 2013, Ari Koivula, <ari@koivu.la>
Expand Down
2 changes: 1 addition & 1 deletion sopel/modules/reddit.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""
reddit-info.py - Sopel Reddit module
Author: Edward Powell, embolalia.net
Expand Down
2 changes: 1 addition & 1 deletion sopel/modules/reload.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""
reload.py - Sopel Module Reloader Module
Copyright 2008, Sean B. Palmer, inamidst.com
Expand Down
2 changes: 1 addition & 1 deletion sopel/modules/remind.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""
remind.py - Sopel Reminder Module
Copyright 2011, Sean B. Palmer, inamidst.com
Expand Down
2 changes: 1 addition & 1 deletion sopel/modules/safety.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""
safety.py - Alerts about malicious URLs
Copyright © 2014, Elad Alfassa, <elad@fedoraproject.org>
Expand Down
2 changes: 1 addition & 1 deletion sopel/modules/search.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""
search.py - Sopel Web Search Module
Copyright 2008-9, Sean B. Palmer, inamidst.com
Expand Down
2 changes: 1 addition & 1 deletion sopel/modules/seen.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""
seen.py - Sopel Seen Module
Copyright 2008, Sean B. Palmer, inamidst.com
Expand Down
2 changes: 1 addition & 1 deletion sopel/modules/spellcheck.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""
spellcheck.py - Sopel spell check Module
Copyright © 2012, Elad Alfassa, <elad@fedoraproject.org>
Expand Down
2 changes: 1 addition & 1 deletion sopel/modules/tell.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""
tell.py - Sopel Tell and Ask Module
Copyright 2008, Sean B. Palmer, inamidst.com
Expand Down
2 changes: 1 addition & 1 deletion sopel/modules/tld.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""
tld.py - Sopel TLD Module
Copyright 2009-10, Michael Yanovich, yanovich.net
Expand Down
2 changes: 1 addition & 1 deletion sopel/modules/translate.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""
translate.py - Sopel Translation Module
Copyright 2008, Sean B. Palmer, inamidst.com
Expand Down
2 changes: 1 addition & 1 deletion sopel/modules/unicode_info.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""
codepoints.py - Sopel Codepoints Module
Copyright 2013, Edward Powell, embolalia.net
Expand Down
2 changes: 1 addition & 1 deletion sopel/modules/units.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""
units.py - Unit conversion module for Sopel
Copyright © 2013, Elad Alfassa, <elad@fedoraproject.org>
Expand Down
2 changes: 1 addition & 1 deletion sopel/modules/uptime.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""
uptime.py - Uptime module
Copyright 2014, Fabian Neundorf
Expand Down
2 changes: 1 addition & 1 deletion sopel/modules/url.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""
url.py - Sopel URL title module
Copyright 2010-2011, Michael Yanovich, yanovich.net, Kenneth Sham
Expand Down
2 changes: 1 addition & 1 deletion sopel/modules/version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""
version.py - Sopel Version Module
Copyright 2009, Silas Baronda
Expand Down
2 changes: 1 addition & 1 deletion sopel/modules/weather.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""
weather.py - Sopel Yahoo! Weather Module
Copyright 2008, Sean B. Palmer, inamidst.com
Expand Down
2 changes: 1 addition & 1 deletion sopel/modules/wikipedia.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""
wikipedia.py - Sopel Wikipedia Module
Copyright 2013 Edward Powell - embolalia.net
Expand Down
2 changes: 1 addition & 1 deletion sopel/modules/wiktionary.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""
wiktionary.py - Sopel Wiktionary Module
Copyright 2009, Sean B. Palmer, inamidst.com
Expand Down
2 changes: 1 addition & 1 deletion sopel/modules/xkcd.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""
xkcd.py - XKCD Module
Copyright 2010, Michael Yanovich (yanovich.net), and Morgan Goose
Expand Down
2 changes: 1 addition & 1 deletion sopel/tools/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""
*Availability: 3+*
``tools`` contains a number of useful miscellaneous tools and shortcuts for use
Expand Down
2 changes: 1 addition & 1 deletion sopel/tools/calculation.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""Tools to help safely do calculations from user input"""
from __future__ import unicode_literals, absolute_import, print_function, division

Expand Down
2 changes: 1 addition & 1 deletion sopel/tools/jobs.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
from __future__ import unicode_literals, absolute_import, print_function, division

import copy
Expand Down
2 changes: 1 addition & 1 deletion sopel/tools/time.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""Tools for getting and displaying the time."""
from __future__ import unicode_literals, absolute_import, print_function, division

Expand Down
2 changes: 1 addition & 1 deletion test/test_db.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""Tests for the new database functionality.

TODO: Most of these tests assume functionality tested in other tests. This is
Expand Down
2 changes: 1 addition & 1 deletion test/test_trigger.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
"""Tests for message parsing"""
from __future__ import unicode_literals

Expand Down

0 comments on commit 416c87b

Please sign in to comment.