-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Enforce ASCII and whitespace conventions #229
Conversation
The CMake and Azure DevOps changes appear to be successful (although I haven't tested them with an intentional validation failure yet).
|
And now I've tested intentional validation failure with #230 (by creating a separate branch with the "fix accumulated issues" commits dropped). That fails in what I think is a very nice way, with the Azure Pipelines UI describing what files are affected and how. |
@BillyONeal , should |
The one in |
I've discovered that eliminating the batch file had highly undesirable effects; I'm going to restore it. |
ed955cd
to
23ba524
Compare
I've force-pushed #230 accordingly, showing what happens when validation fails. |
Description
Fixes #141. This doesn't attempt to enforce 120 columns.
I've performed extensive manual testing of
validate.cpp
(in particular, for every validation failure). Initially, I didn't test the CMake and Azure DevOps changes at all. However, they've successfully built and passed in this PR, and intentionally failed in #230, which I believe is sufficient testing.This also fixes accumulated issues:
Change tabs to spaces.
.gitmodules
Remove UTF-8 BOMs.
CMakeSettings.json
tools/CMakeSettings.json
Change LF to CRLF.
.gitmodules
azure-devops/install_msvc_preview.ps1
azure-devops/run_build.yml
azure-pipelines.yml
docs/ISSUE_TEMPLATE.md
vcpkg_windows.txt
Checklist
If you're unsure about a box, leave it unchecked. A maintainer will help you.
community PRs will be delayed until the test and CI systems are online.
_Ugly
as perhttps://eel.is/c++draft/lex.name#3.1 or there are no product code changes.
verified by an STL maintainer before CI is online, leave this unchecked for
initial submission).
members, adding virtual functions, changing whether a type is an aggregate
or trivially copyable, etc.).
the C++ Working Draft as a reference (and any other cited standards).
If they were derived from a project that's already listed in NOTICE.txt,
that's fine, but please mention it. If they were derived from any other
project (including Boost and libc++, which are not yet listed in
NOTICE.txt), you must mention it here, so we can determine whether the
license is compatible and what else needs to be done.