Skip to content

Commit f44415b

Browse files
committed
build: some files need to be excused from usual formatting rules
1 parent dba1bc3 commit f44415b

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.editorconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ indent_size = 2
3333
[*.rst]
3434
max_line_length = 79
3535

36+
[*.tok]
37+
trim_trailing_whitespace = false
38+
39+
[*_dos.tok]
40+
end_of_line = crlf
41+
3642
[Makefile]
3743
indent_style = tab
3844
indent_size = 8

tests/stress_phystoken.tok

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# Here's some random Python so that test_tokenize_myself will have some
55
# stressful stuff to try. This file is .tok instead of .py so pylint won't
6-
# complain about it, check_eol won't look at it, etc.
6+
# complain about it, editors won't mess with it, etc.
77
# Some lines are here to reproduce fixed bugs in ast_dump also.
88

99
first_back = """\

tests/stress_phystoken_dos.tok

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# Here's some random Python so that test_tokenize_myself will have some
55
# stressful stuff to try. This file is .tok instead of .py so pylint won't
6-
# complain about it, check_eol won't look at it, etc.
6+
# complain about it, editors won't mess with it, etc.
77

88
first_back = """\
99
hey there!

0 commit comments

Comments
 (0)