pre-commit: version bump typos and sphinx-lint hooks + fix found typos

This commit is contained in:
Alex Turbov
2025-11-02 08:49:11 +04:00
committed by Brad King
parent e8863b5a74
commit 1405dc49e8
4 changed files with 5 additions and 5 deletions

View File

@@ -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

View File

@@ -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.

View File

@@ -783,7 +783,7 @@ void cmFastbuildTargetGenerator::AddObjectDependencies(
cmGlobalFastbuildGenerator::TopologicalSort(fastbuildTarget.ObjectListNodes);
}
void cmFastbuildTargetGenerator::AddLinkerNodeDependnecies(
void cmFastbuildTargetGenerator::AddLinkerNodeDependencies(
FastbuildTarget& fastbuildTarget)
{
for (auto& linkerNode : fastbuildTarget.LinkerNode) {

View File

@@ -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;