Skip to content

Commit 4029ab2

Browse files
committed
Use consistent encoding
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
1 parent 508082a commit 4029ab2

39 files changed

+72
-0
lines changed

bpdb/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
13
# The MIT License
24
#
35
# Copyright (c) 2008 Bob Farrell

bpdb/__main__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
13
# The MIT License
24
#
35
# Copyright (c) 2013 Sebastian Ramacher

bpdb/debugger.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
13
# The MIT License
24
#
35
# Copyright (c) 2008 Bob Farrell

bpython/_internal.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
13
import pydoc
24
import sys
35

bpython/args.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
13
"""
24
Module to handle command line argument parsing, for all front-ends.
35
"""

bpython/clipboard.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
13
# The MIT License
24
#
35
# Copyright (c) 2015 Sebastian Ramacher

bpython/curtsies.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
13
from __future__ import absolute_import
24

35
import collections

bpython/curtsiesfrontend/_internal.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
13
# The MIT License
24
#
35
# Copyright (c) 2015 the bpython authors.

bpython/curtsiesfrontend/coderunner.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
13
"""For running Python code that could interrupt itself at any time in order to,
24
for example, ask for a read on stdin, or a write on stdout
35

bpython/curtsiesfrontend/events.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
13
"""Non-keyboard events used in bpython curtsies REPL"""
24
import time
35

bpython/curtsiesfrontend/filewatch.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
13
import os
24
from collections import defaultdict
35

bpython/curtsiesfrontend/interaction.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
13
from __future__ import unicode_literals
24

35
import greenlet

bpython/curtsiesfrontend/interpreter.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
13
import sys
24
from six import iteritems, text_type
35

bpython/curtsiesfrontend/manual_readline.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
13
"""implementations of simple readline edit operations
24
35
just the ones that fit the model of transforming the current line

bpython/curtsiesfrontend/preprocess.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
13
"""Tools for preparing code to be run in the REPL (removing blank lines,
24
etc)"""
35

bpython/curtsiesfrontend/sitefix.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
13
import sys
24

35
from six.moves import builtins

bpython/formatter.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
13
# The MIT License
24
#
35
# Copyright (c) 2008 Bob Farrell

bpython/importcompletion.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
13
# The MIT License
24
#
35
# Copyright (c) 2009-2011 Andreas Stuehrk

bpython/keys.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
13
# The MIT License
24
#
35
# Copyright (c) 2008 Simon de Vlieger

bpython/lazyre.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
13
# The MIT License
24
#
35
# Copyright (c) 2015 Sebastian Ramacher

bpython/line.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
13
"""Extracting and changing portions of the current line
24
35
All functions take cursor offset from the beginning of the line and the line of

bpython/pager.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
13
# The MIT License
24
#
35
# Copyright (c) 2009-2011 Andreas Stuehrk

bpython/patch_linecache.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
13
import linecache
24

35

bpython/test/test_bpython.py

Whitespace-only changes.

bpython/test/test_config.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
13
import os
24
import tempfile
35
import textwrap

bpython/test/test_crashers.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
13
import fcntl
24
import os
35
import pty

bpython/test/test_curtsies_coderunner.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
13
import sys
24

35
from bpython.test import mock, unittest

bpython/test/test_curtsies_painting.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# coding: utf8
2+
23
from __future__ import unicode_literals
34
import itertools
45
import os

bpython/test/test_curtsies_parser.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
13
from __future__ import unicode_literals
24

35
from bpython.test import unittest

bpython/test/test_filewatch.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
13
import os
24

35
try:

bpython/test/test_history.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
13
from six.moves import range
24

35
from bpython.history import History

bpython/test/test_importcompletion.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
13
from __future__ import unicode_literals
24

35
from bpython import importcompletion

bpython/test/test_keys.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
13
from bpython import keys
24
from bpython.test import unittest
35

bpython/test/test_line_properties.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
13
import re
24

35
from bpython.test import unittest

bpython/test/test_manual_readline.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
13
from bpython.curtsiesfrontend.manual_readline import \
24
left_arrow, right_arrow, beginning_of_line, forward_word, back_word, \
35
end_of_line, delete, last_word_pos, backspace, delete_from_cursor_back, \

bpython/test/test_pager.py

Whitespace-only changes.

bpython/test/test_preprocess.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
13
from code import compile_command as compiler
24
from functools import partial
35
import difflib

bpython/test/test_repl.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
13
from itertools import islice
24
from six.moves import range
35
import collections

bpython/urwid.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# encoding: utf-8
12

23
#
34
# The MIT License

0 commit comments

Comments
 (0)