Skip to content

Update .gitattributes for the wrongencoding files #13811

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,11 @@ tests/roots/test-pycode/cp_1251_coded.py dos

# Non UTF-8 encodings
tests/roots/test-pycode/cp_1251_coded.py working-tree-encoding=windows-1251
tests/roots/test-root/wrongenc.inc working-tree-encoding=latin-1
tests/roots/test-warnings/wrongenc.inc working-tree-encoding=latin-1

# Encoding test files - treated as binary to prevent encoding conversion issues
# These files contain intentional Latin-1 encoded content for testing Sphinx's encoding handling
tests/roots/test-root/wrongenc.inc binary
tests/roots/test-warnings/wrongenc.inc binary

# Generated files
# https://github.com/github/linguist/blob/master/docs/overrides.md
Expand Down