[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #7263 [Stem]: test.check_whitespace.get_issues not being used correctly.



#7263: test.check_whitespace.get_issues not being used correctly.
-------------------------+--------------------------------------------------
 Reporter:  eoinof       |          Owner:  atagar
     Type:  enhancement  |         Status:  new   
 Priority:  minor        |      Milestone:        
Component:  Stem         |        Version:        
 Keywords:               |         Parent:        
   Points:               |   Actualpoints:        
-------------------------+--------------------------------------------------
 This checkin expanded the scope of the check_whitespace function
 https://gitweb.torproject.org/stem.git/commit/c1450e440e388295a329e84b3e935bf86f88e673

 However the arg passed can only be a path, not a filename so the 3rd line
 of this checkin has no effect.
 https://gitweb.torproject.org/stem.git/blobdiff/c52042c44b5a157dceb6013743fdea40bbc3f52c..c1450e440e388295a329e84b3e935bf86f88e673:/run_tests.py

 A easier approach would be to scan all python files in the project?
 I've made this change here:
 https://github.com/eoinof/stem/commit/5c64a755590a275265665cf082a2fc928ac0972b#run_tests.py

 And fixed 2 whitespace issues in run_tests.py here:
 https://github.com/eoinof/stem/commit/b458b667913f4b4e89fb1d11afea68a15fef3f84#run_tests.py

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7263>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs