mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-02 03:39:43 -06:00
pre-commit: version bump typos and sphinx-lint hooks + fix found typos
This commit is contained in:
@@ -81,7 +81,7 @@ repos:
|
||||
pass_filenames: false
|
||||
|
||||
- repo: https://github.com/sphinx-contrib/sphinx-lint
|
||||
rev: v1.0.0
|
||||
rev: v1.0.1
|
||||
hooks:
|
||||
- id: sphinx-lint
|
||||
# NOTE Looks like `bad-dedent` gives too many false-positives.
|
||||
@@ -110,7 +110,7 @@ repos:
|
||||
|
||||
# NOTE See BUG https://github.com/crate-ci/typos/issues/390
|
||||
- repo: https://github.com/adhtruong/mirrors-typos
|
||||
rev: v1.38.1
|
||||
rev: v1.39.0
|
||||
hooks:
|
||||
- id: typos
|
||||
# NOTE Override hook's default args to prevent automatic
|
||||
|
||||
@@ -928,7 +928,7 @@ void cmFastbuildNormalTargetGenerator::Generate()
|
||||
GenerateModuleDefinitionInfo(fastbuildTarget);
|
||||
// Needs to be called after we've added all PRE-LINK steps (like creation of
|
||||
// .def files on Windows).
|
||||
AddLinkerNodeDependnecies(fastbuildTarget);
|
||||
AddLinkerNodeDependencies(fastbuildTarget);
|
||||
|
||||
// Must be called after "GenerateObjects", since it also adds Prebuild deps
|
||||
// to it.
|
||||
|
||||
@@ -783,7 +783,7 @@ void cmFastbuildTargetGenerator::AddObjectDependencies(
|
||||
cmGlobalFastbuildGenerator::TopologicalSort(fastbuildTarget.ObjectListNodes);
|
||||
}
|
||||
|
||||
void cmFastbuildTargetGenerator::AddLinkerNodeDependnecies(
|
||||
void cmFastbuildTargetGenerator::AddLinkerNodeDependencies(
|
||||
FastbuildTarget& fastbuildTarget)
|
||||
{
|
||||
for (auto& linkerNode : fastbuildTarget.LinkerNode) {
|
||||
|
||||
@@ -54,7 +54,7 @@ public:
|
||||
|
||||
void AddObjectDependencies(FastbuildTarget& fastbuildTarget,
|
||||
std::vector<std::string>& allObjectDepends) const;
|
||||
void AddLinkerNodeDependnecies(FastbuildTarget& fastbuildTarget);
|
||||
void AddLinkerNodeDependencies(FastbuildTarget& fastbuildTarget);
|
||||
|
||||
std::string ConvertToFastbuildPath(std::string const& path) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user