mirror of
https://github.com/CLIUtils/CLI11.git
synced 2025-01-15 14:48:00 +00:00
Compare commits
2 Commits
ffe5b29e1f
...
0c3020b9ef
Author | SHA1 | Date | |
---|---|---|---|
|
0c3020b9ef | ||
|
88b0bc4d95 |
1
.github/CONTRIBUTING.md
vendored
1
.github/CONTRIBUTING.md
vendored
@ -18,6 +18,7 @@ In general, make sure the addition is well thought out and does not increase the
|
||||
* The test coverage is also measured, and that should remain 100%
|
||||
* Formatting should be done with pre-commit, otherwise the format check will not pass. However, it is trivial to apply this to your PR, so don't worry about this check. If you do want to run it, see below.
|
||||
* Everything must pass clang-tidy as well, run with `-DCLI11_CLANG_TIDY=ON` (if you set `-DCLI11_CLANG_TIDY_OPTIONS="-fix"`, make sure you use a single threaded build process, or just build one example target).
|
||||
* Your changes must also conform to most of the [Google C++ Style Guide](https://google.github.io/styleguide/cppguide.html) rules checked by [cpplint](https://github.com/cpplint/cpplint). For unused cpplint filters and justifications, see [CPPLINT.cfg](/CPPLINT.cfg).
|
||||
|
||||
|
||||
## Pre-commit
|
||||
|
@ -9,6 +9,6 @@ filter=-whitespace/blank_line # Unnecessarily strict with blank lines that othe
|
||||
filter=-whitespace/parens,-whitespace/braces # Conflict with clang-format
|
||||
|
||||
# Filters to be included in future
|
||||
filter=-whitespace/indent,-whitespace/comments,-readability/braces,-build/include_what_you_use
|
||||
filter=-whitespace/indent,-whitespace/comments,-readability/braces
|
||||
filter=-legal/copyright # Remove this line after Version 1.9
|
||||
|
||||
|
@ -10,6 +10,7 @@
|
||||
#include <iterator>
|
||||
#include <memory>
|
||||
#include <numeric>
|
||||
#include <set>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
@ -7,6 +7,8 @@
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "CLI/App.hpp"
|
||||
#include "CLI/ConfigFwd.hpp"
|
||||
|
@ -7,6 +7,7 @@
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "CLI/Error.hpp"
|
||||
#include "CLI/StringTools.hpp"
|
||||
|
@ -7,6 +7,7 @@
|
||||
#include <stdexcept>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
// CLI library includes
|
||||
#include "CLI/StringTools.hpp"
|
||||
|
@ -3,7 +3,9 @@
|
||||
// Distributed under the 3-Clause BSD License. See accompanying
|
||||
// file LICENSE or https://github.com/CLIUtils/CLI11 for details.
|
||||
|
||||
#include <algorithm>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "CLI/App.hpp"
|
||||
#include "CLI/FormatterFwd.hpp"
|
||||
|
@ -6,6 +6,7 @@
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "CLI/StringTools.hpp"
|
||||
|
||||
|
@ -5,6 +5,7 @@
|
||||
|
||||
#include <string>
|
||||
#include <tuple>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "CLI/Error.hpp"
|
||||
|
@ -9,6 +9,7 @@
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <type_traits>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
namespace CLI {
|
||||
|
@ -15,6 +15,8 @@
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
// [CLI11:verbatim]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user