Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 4b965c8

Browse files
Remove redundant "coding: utf-8" lines (#9786)
Part of #9744 Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now. `Signed-off-by: Jonathan de Jong <[email protected]>`
1 parent 7e460ec commit 4b965c8

File tree

651 files changed

+1
-651
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

651 files changed

+1
-651
lines changed

.buildkite/scripts/create_postgres_db.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/usr/bin/env python
2-
# -*- coding: utf-8 -*-
32
# Copyright 2019 The Matrix.org Foundation C.I.C.
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");

changelog.d/9786.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Apply `pyupgrade` across the codebase.

contrib/cmdclient/http.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# Copyright 2014-2016 OpenMarket Ltd
32
#
43
# Licensed under the Apache License, Version 2.0 (the "License");

contrib/experiments/test_messaging.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# Copyright 2014-2016 OpenMarket Ltd
32
#
43
# Licensed under the Apache License, Version 2.0 (the "License");

scripts-dev/mypy_synapse_plugin.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# Copyright 2020 The Matrix.org Foundation C.I.C.
32
#
43
# Licensed under the Apache License, Version 2.0 (the "License");

scripts-dev/sign_json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/usr/bin/env python
22
#
3-
# -*- coding: utf-8 -*-
43
# Copyright 2020 The Matrix.org Foundation C.I.C.
54
#
65
# Licensed under the Apache License, Version 2.0 (the "License");

scripts-dev/update_database

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/usr/bin/env python
2-
# -*- coding: utf-8 -*-
32
# Copyright 2019 The Matrix.org Foundation C.I.C.
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");

scripts/export_signing_key

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/usr/bin/env python
2-
# -*- coding: utf-8 -*-
32
# Copyright 2019 The Matrix.org Foundation C.I.C.
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");

scripts/generate_log_config

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/usr/bin/env python3
22

3-
# -*- coding: utf-8 -*-
43
# Copyright 2020 The Matrix.org Foundation C.I.C.
54
#
65
# Licensed under the Apache License, Version 2.0 (the "License");

scripts/generate_signing_key.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/usr/bin/env python
2-
# -*- coding: utf-8 -*-
32
# Copyright 2019 The Matrix.org Foundation C.I.C.
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");

0 commit comments

Comments
 (0)