Skip to content

Commit

Permalink
tests: remove legacy python file coding
Browse files Browse the repository at this point in the history
Removing legacy Python file encoding from sample Python files. They are
not needed for the specific testing or examples, and best to avoid their
promotion in our example. Removing also prevents ruff warnings on their
detection.

Signed-off-by: James Knight <james.d.knight@live.com>
  • Loading branch information
jdknight committed Mar 2, 2024
1 parent a6ff447 commit 4e7a6e9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions tests/unit-tests/assets/example.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

import sys


Expand Down
2 changes: 0 additions & 2 deletions tests/validation-sets/sphinx/assets/example.py
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
# -*- coding: utf-8 -*-

print('hello world')

0 comments on commit 4e7a6e9

Please sign in to comment.