diff options
author | Eric Engestrom <eric@engestrom.ch> | 2018-11-08 19:00:04 +0000 |
---|---|---|
committer | Eric Engestrom <eric@engestrom.ch> | 2018-11-08 20:17:27 +0000 |
commit | 1cdfa43c5cb7b18f2f384c7867e99737f7351f3d (patch) | |
tree | 7e937e87482062545dcde95cd1eb416b4e5871a0 /tests/oglconform.py | |
parent | 5b3566f78490026b38ff03d602655ce3afb5ecb1 (diff) |
python: add explicit utf-8 encoding
I went with `# coding=utf-8` as it was the most common format in the
existing code:
24 # coding=utf-8
21 ## coding=utf-8
19 # encoding=utf-8
9 ## encoding=utf-8
6 # -*- coding: utf-8 -*-
I added it as the first line after the shebang, if any.
Suggested-by: Dylan Baker <dylan@pnwbakers.com>
Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Diffstat (limited to 'tests/oglconform.py')
-rw-r--r-- | tests/oglconform.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/oglconform.py b/tests/oglconform.py index 5104f442b..2d81b6b2b 100644 --- a/tests/oglconform.py +++ b/tests/oglconform.py @@ -1,4 +1,5 @@ #!/usr/bin/env python +# coding=utf-8 # # Permission is hereby granted, free of charge, to any person # obtaining a copy of this software and associated documentation |