diff --git a/.gitattributes b/.gitattributes deleted file mode 100644 index 8150eb3f2..000000000 --- a/.gitattributes +++ /dev/null @@ -1 +0,0 @@ -tests/** text=auto eol=lf diff --git a/strictdoc/commands/manage_autouid_command.py b/strictdoc/commands/manage_autouid_command.py index 299ff57a1..ba9269aec 100644 --- a/strictdoc/commands/manage_autouid_command.py +++ b/strictdoc/commands/manage_autouid_command.py @@ -176,6 +176,7 @@ def _rewrite_source_file( ] # This is important for Windows. Otherwise, the hash key will be calculated incorrectly. + instance_bytes = instance_bytes.replace(b"\r\n", b"\n") code = code.replace(b"\r\n", b"\n") hash_spdx_id = bytes(get_random_sha256(), encoding="utf8") diff --git a/tests/end2end/__init__.py b/tests/end2end/__init__.py index ea7a43c1b..1aef81102 100644 --- a/tests/end2end/__init__.py +++ b/tests/end2end/__init__.py @@ -1 +1 @@ -# Dummy comment +# Dummy comment.