Skip to content

Commit 51840ef

Browse files
modelmatcalcmogul
authored andcommitted
Fix escapes (adding and removing when uncessary)
1 parent 3a2ff9d commit 51840ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

wpiformat/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Generated files should not be modified; if they are, wpiformat will emit warning
4343

4444
File names matching regexes in the group ``licenseUpdateExclude`` will be skipped by the license header update task.
4545

46-
Empty config groups can be omitted. Directory separators must be "/", not "\". During processing, they will be replaced internally with an os.sep that is automatically escaped for regexes.
46+
Empty config groups can be omitted. Directory separators must be "/", not "\\". During processing, they will be replaced internally with an os.sep that is automatically escaped for regexes.
4747

4848
Valid include guard patterns use capital letters, start with the repository name, include the path to the file and the file name itself, have directory separators and hyphens replaced with underscores, and have a trailing underscore. The path to the file starts from the repository root by default. Other paths, such as include directories, can be specified in the group ``includeGuardRoots``. If a path matches, that string will be truncated from the include guard pattern.
4949

wpiformat/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
name="wpiformat",
5959
version=__version__,
6060
description=
61-
"Linters and formatters for ensuring WPILib\'s source code conforms to its style guide",
61+
"Linters and formatters for ensuring WPILib's source code conforms to its style guide",
6262
long_description=long_description,
6363
author="WPILib",
6464
maintainer="Tyler Veness",

0 commit comments

Comments
 (0)