Browse Source

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

Alex Turbov 1 month ago
parent
commit
1405dc49e8

+ 2 - 2
.pre-commit-config.yaml

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

+ 1 - 1
Source/cmFastbuildNormalTargetGenerator.cxx

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

+ 1 - 1
Source/cmFastbuildTargetGenerator.cxx

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

+ 1 - 1
Source/cmFastbuildTargetGenerator.h

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