Skip to content

Commit fef63d2

Browse files
committed
Declare encoding for Python 2
1 parent 7d979f4 commit fef63d2

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

‎language_tool/__init__.py‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
"""LanguageTool through server mode
2-
"""
1+
# -*- coding: utf-8 -*-
2+
"""LanguageTool through server mode."""
3+
34
# © 2012 spirit <hiddenspirit@gmail.com>
45
# https://bitbucket.org/spirit/language_tool
56
#

‎language_tool/console_mode.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
"""Write to stdout without causing UnicodeEncodeError
2-
"""
1+
# -*- coding: utf-8 -*-
2+
"""Write to stdout without causing UnicodeEncodeError."""
33

44
import sys
55

‎language_tool/which.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python3
2-
"""Cross-platform which command
3-
"""
2+
# -*- coding: utf-8 -*-
3+
"""Cross-platform which command."""
44
# © 2012 spirit <hiddenspirit@gmail.com>
55
#
66
# This program is free software: you can redistribute it and/or modify it

0 commit comments

Comments
 (0)