Commit 1cdfa43c authored by Eric Engestrom's avatar Eric Engestrom

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's avatarDylan Baker <dylan@pnwbakers.com>
Signed-off-by: Eric Engestrom's avatarEric Engestrom <eric@engestrom.ch>
Reviewed-by: Dylan Baker's avatarDylan Baker <dylan@pnwbakers.com>
parent 5b3566f7
# coding=utf-8
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
......
# coding=utf-8
# Copyright (c) 2014-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
# Copyright (c) 2014, 2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
# Copyright (c) 2015-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
# Copyright (c) 2014, 2016-2017 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
# Copyright (c) 2014-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
# Copyright (c) 2015-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
# Copyright (c) 2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
# Copyright (c) 2014-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
# Copyright (c) 2013-2016 Intel Corporation
#
# Permission is hereby granted, free of charge, to any person obtaining a
......
# coding=utf-8
# Copyright (c) 2016 Broadcom
#
# Permission is hereby granted, free of charge, to any person obtaining a
......
# coding=utf-8
# Copyright (c) 2015 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
# Copyright (c) 2014-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
# Copyright (c) 2013-2016 Intel Corporation
#
# Permission is hereby granted, free of charge, to any person obtaining a
......
# coding=utf-8
# Copyright (c) 2016 Intel Corporation
#
# Permission is hereby granted, free of charge, to any person obtaining a
......
# coding=utf-8
# Copyright (c) 2015-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
# files (the "Software"), to deal in the Software without
......
# coding=utf-8
# Copyright (c) 2015-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
# Copyright (c) 2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
# files (the "Software"), to deal in the Software without
......
# coding=utf-8
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
# files (the "Software"), to deal in the Software without
......
# coding=utf-8
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
# files (the "Software"), to deal in the Software without
......
# coding=utf-8
# Copyright (c) 2013, 2015 Intel Corporation
#
# Permission is hereby granted, free of charge, to any person obtaining a
......
# coding=utf-8
# Copyright (c) 2015-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
# Copyright 2013-2016 Intel Corporation
# Copyright 2013, 2014 Advanced Micro Devices
# Copyright 2014 VMWare
......
# coding=utf-8
# Copyright 2013-2016 Intel Corporation
# Copyright 2013, 2014 Advanced Micro Devices
# Copyright 2014 VMWare
......
# coding=utf-8
# Copyright (c) 2016-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person
......
# coding=utf-8
# Copyright 2013-2016 Intel Corporation
# Copyright 2013, 2014 Advanced Micro Devices
# Copyright 2014 VMWare
......
# coding=utf-8
# Copyright (c) 2014,2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
......
# coding=utf-8
# Copyright 2014-2016,2018 Intel Corporation
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
# files (the "Software"), to deal in the Software without
......
# coding=utf-8
# Copyright 2016 Intel Corporation
# Copyright 2013, 2014 Advanced Micro Devices, Inc.
#
......
# coding=utf-8
# Copyright 2016 Intel Corporation
# Copyright 2014 Advanced Micro Devices, Inc.
#
......
# coding=utf-8
# Copyright 2016 Intel Corporation
# Copyright 2014 Advanced Micro Devices, Inc.
#
......
# coding=utf-8
# Copyright (c) 2015-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
......
# coding=utf-8
# Copyright (C) 2012, 2014-2016 Intel Corporation
#
# Permission is hereby granted, free of charge, to any person
......
# coding=utf-8
# Copyright (c) 2015-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
# Copyright 2013 Advanced Micro Devices, Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining a
......
# coding=utf-8
from __future__ import print_function, division, absolute_import
import os
from genclbuiltins import gen, DATA_SIZES, MAX_VALUES, MAX, MIN, BMIN, BMAX, \
......
# coding=utf-8
# Copyright 2013 Advanced Micro Devices, Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining a
......
# coding=utf-8
# Copyright 2013 Advanced Micro Devices, Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining a
......
# coding=utf-8
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
......
# coding=utf-8
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
......
# coding=utf-8
# Copyright 2013 Advanced Micro Devices, Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining a
......
# coding=utf-8
# Copyright 2016 Advanced Micro Devices, Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining a
......
# coding=utf-8
# Copyright 2016 Advanced Micro Devices, Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining a
......
# coding=utf-8
# Copyright (c) 2010, 2014 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
# Copyright (c) 2014 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
# Copyright (c) 2014 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
# Copyright (c) 2014 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
# Copyright (c) 2015 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
# Copyright (c) 2015-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
from __future__ import print_function, division, absolute_import
import os
......
# coding=utf-8
import importlib
import os
import sys
......
# coding=utf-8
# Copyright (c) 2014 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
#!/usr/bin/env python2
# coding=utf-8
# Copyright (c) 2014 Intel Corporation
#
......
#!/usr/bin/env python2
# coding=utf-8
# Copyright (c) 2014 Intel Corporation
#
......
#!/usr/bin/env python2
# coding=utf-8
# Copyright (c) 2014 Intel Corporation
#
......
# coding=utf-8
# Copyright (c) 2014-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
#!/usr/bin/env python
# coding=utf-8
# Copyright (c) 2014, 2016 Intel Corporation
......
#!/usr/bin/env python
# coding=utf-8
# Copyright (c) 2014, 2016 Intel Corporation
......
#!/usr/bin/env python
# coding=utf-8
# Copyright (c) 2014, 2016 Intel Corporation
......
#!/usr/bin/env python
# coding=utf-8
# Copyright (c) 2014, 2016 Intel Corporation
......
#!/usr/bin/env python
# coding=utf-8
# Copyright (c) 2014, 2016 Intel Corporation
......
# coding=utf-8
# Copyright 2014 Intel Corporation
#
# Permission is hereby granted, free of charge, to any person obtaining a
......
#!/usr/bin/env python
# coding=utf-8
# Copyright (c) 2016 Broadcom
#
......
# coding=utf-8
# Copyright 2014-2016 Intel Corporation
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
# Copyright (c) 2015 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
# Copyright (c) 2015 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
# Copyright (c) 2015 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
# Copyright 2015 Intel Corporation
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
# Copyright 2014, 2015 Intel Corporation
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
# Copyright 2015 Intel Corporation
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
# Copyright 2014-2016 Intel Corporation
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
......
# coding=utf-8
"""A profile that runs only GLSLParserTest instances."""
from __future__ import (
......
#!/usr/bin/env python
# coding=utf-8
one_parameter_110 = [
"radians",
......
# coding=utf-8
# Copyright (c) 2018 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
# Copyright (c) 2018 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
#
# Copyright (c) 2012 Intel Corporation
#
......
# coding=utf-8
# Copyright (c) 2017 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
# Copyright (c) 2017 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
# Copyright (c) 2017 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
# Copyright (c) 2017 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
#!/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
......
# coding=utf-8
# Copyright (c) 2015, 2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
"""A profile that runs only ShaderTest instances."""
from __future__ import (
......
# coding=utf-8
# Copyright 2014 Intel Corporation
#
# Permission is hereby granted, free of charge, to any person obtaining a
......
# coding=utf-8
# Copyright (c) 2015 Broadcom
#
# Permission is hereby granted, free of charge, to any person obtaining a
......
# coding=utf-8
# Copyright (c) 2013-2014 Intel Corporation
#
# Permission is hereby granted, free of charge, to any person
......
# coding=utf-8
# Copyright (c) 2015-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
# Copyright (c) 2014, 2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
# Copyright (c) 2014-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
# Copyright (c) 2014, 2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
# Copyright (c) 2014, 2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
# Copyright (c) 2014, 2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
# Copyright (c) 2015-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
# coding=utf-8
# Copyright (c) 2015 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment