Commits

Ry4an Brase committed 22af376

Add issue number and ChangeLog entry

  • Participants
  • Parent commits 38899c4

Comments (0)

Files changed (1)

File ignore-similar-imports

 # HG changeset patch
 # Parent 7a1e32ae0c60d872568382a76f3621ce72a81b31
-Add --ignore-imports option to similarity checking.
+Add --ignore-imports option to similarity checking. Closes #106534.
 
 Additionally:
  - add access to existing --ignore-docstrings option to symilar command line
  - add test for existing --ignore-docstring feature
  - add test for new --ignore-imports feature
 
+diff -r 7a1e32ae0c60 ChangeLog
+--- a/ChangeLog	Thu Sep 20 06:54:35 2012 +0200
++++ b/ChangeLog	Sat Sep 29 23:47:36 2012 -0400
+@@ -2,6 +2,9 @@
+ ====================
+ 
+ --
++    * #106534: add --ignore-imports option to code similarity checking
++      and 'symilar' command line tool (patch by Ry4an Brase)
++
+     * #104571: check for anomalous backslash escape, introducing new
+       W1401 and W1402 messages (patch by Martin Pool)
+ 
 diff -r 7a1e32ae0c60 checkers/similar.py
 --- a/checkers/similar.py	Thu Sep 20 06:54:35 2012 +0200
-+++ b/checkers/similar.py	Sat Sep 29 23:19:13 2012 -0400
++++ b/checkers/similar.py	Sat Sep 29 23:47:36 2012 -0400
 @@ -29,10 +29,11 @@
      """finds copy-pasted lines of code in a project"""
  
      sim.run()
 diff -r 7a1e32ae0c60 test/input/similar1
 --- a/test/input/similar1	Thu Sep 20 06:54:35 2012 +0200
-+++ b/test/input/similar1	Sat Sep 29 23:19:13 2012 -0400
++++ b/test/input/similar1	Sat Sep 29 23:47:36 2012 -0400
 @@ -1,19 +1,22 @@
 -this file is used
 -to check the similar 
 +eighteen
 diff -r 7a1e32ae0c60 test/input/similar2
 --- a/test/input/similar2	Thu Sep 20 06:54:35 2012 +0200
-+++ b/test/input/similar2	Sat Sep 29 23:19:13 2012 -0400
++++ b/test/input/similar2	Sat Sep 29 23:47:36 2012 -0400
 @@ -1,19 +1,22 @@
 -this file is used
 -to check the similar 
 +eighteen
 diff -r 7a1e32ae0c60 test/test_similar.py
 --- a/test/test_similar.py	Thu Sep 20 06:54:35 2012 +0200
-+++ b/test/test_similar.py	Sat Sep 29 23:19:13 2012 -0400
++++ b/test/test_similar.py	Sat Sep 29 23:47:36 2012 -0400
 @@ -24,21 +24,76 @@
          finally:
              sys.stdout = sys.__stdout__