Patchwork [7,of,9,sethelp] levenshtein: add a no-check-code comment

login
register
mail settings
Submitter Augie Fackler
Date Feb. 4, 2015, 6:15 p.m.
Message ID <8251917a24a6aba9d9f5.1423073712@arthedain.pit.corp.google.com>
Download mbox | patch
Permalink /patch/7664/
State Changes Requested
Headers show

Comments

Augie Fackler - Feb. 4, 2015, 6:15 p.m.
# HG changeset patch
# User Augie Fackler <augie@google.com>
# Date 1422305311 18000
#      Mon Jan 26 15:48:31 2015 -0500
# Node ID 8251917a24a6aba9d9f58a7a765d7dff9470dfaf
# Parent  4b2d400e8c7daa1746de8516f70a3d468bc9c544
levenshtein: add a no-check-code comment

Patch

diff --git a/mercurial/levenshtein.py b/mercurial/levenshtein.py
--- a/mercurial/levenshtein.py
+++ b/mercurial/levenshtein.py
@@ -32,3 +32,4 @@  def levenshtein(a,b):
 if __name__=="__main__":
     from sys import argv
     print levenshtein(argv[1],argv[2])
+# no-check-code
diff --git a/tests/test-check-code-hg.t b/tests/test-check-code-hg.t
--- a/tests/test-check-code-hg.t
+++ b/tests/test-check-code-hg.t
@@ -13,3 +13,4 @@  New errors are not allowed. Warnings are
   Skipping mercurial/httpclient/__init__.py it has no-che?k-code (glob)
   Skipping mercurial/httpclient/_readers.py it has no-che?k-code (glob)
   Skipping mercurial/httpclient/socketutil.py it has no-che?k-code (glob)
+  Skipping mercurial/levenshtein.py it has no-che?k-code (glob)