[tor-bugs] #33193 [Core Tor/Tor]: Travis CI: Use flake8 to find Python syntax errors

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Feb 9 02:04:08 UTC 2020


#33193: Travis CI: Use flake8 to find Python syntax errors
--------------------------+------------------------------------
 Reporter:  teor          |          Owner:  (none)
     Type:  enhancement   |         Status:  needs_revision
 Priority:  Medium        |      Milestone:  Tor: 0.4.3.x-final
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:  extra-review  |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------
Changes (by teor):

 * status:  new => needs_revision


Comment:

 I'm still working on revisions with the author of the PR.

 But I have a question for Nick:
 Does this change belong in 0.4.3 or 0.4.4?

 I think catching python syntax errors is a good idea.

 And this change could enforce python 3 compatibility in all our scripts,
 if we change the python version to a recent python 3. (But I think we
 should do that in a separate ticket, in case there are any errors we need
 to fix.)

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/33193#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list