Commit Graph
30 Commits
Author SHA1 Message Date
lantz cf5675876c update CI workflows: update/fix codecheck; remove Ubuntu 18.04 (#1167)
1. update/fix codecheck

Run workflow with pylint 2.15.7

Add a  bunch of fiddly and mostly cosmetic changes to
make pylint (and make codecheck) happy.

Also try to run pyflakes3 vs. pyflakes

2. remove Ubuntu 18.04

Ubuntu 18.04 has been removed from github actions, so
we remove it from our workflow as well
2023-04-21 17:37:09 -07:00
lantz f0c726a42f Use /usr/bin/env python for virtualenv (#1025)
This helps with virtualenv although it can open
up another security hole if you end up using an
unexpected python interpreter.

Overall it seems to make sense to err on the side
of usability but it's good to be aware of security.

However, for the remaining utility scripts that require
python 2, we explicitly note this with #!/usr/bin/python2.
2021-02-05 07:42:50 -08:00
lantz dad451bf8f Pass code check with pylint=2.4.4 (#1012) 2021-01-25 14:00:53 -08:00
Bob Lantz 7a3159c9af Spacing tweaks for pep8 checker 2014-12-08 15:10:32 -08:00
Bob Lantz 9bfc7c7768 Satisfy pylint 2013-09-11 12:00:16 -07:00
Brian O'Connor 32de4c9e7c reverted iperf output and fixed regex 2013-08-16 11:16:28 -07:00
Brian O'Connor f0c123d4c0 fixing console.py graph parser 2013-08-15 19:06:31 -07:00
Brian O'Connor 8c22fe84c2 fixed iperf output parsing, changed to csv format
fixes #191
2013-08-15 18:54:07 -07:00
Brian O'Connor 9ff453a50b Changed iperf -sD to iperf -s &
fixes #190
2013-08-15 18:22:21 -07:00
Brandon Heller edf6003217 pep8: fix E128 continuation line under-indented errors
I wasn't sure this was worth fixing at first, but it does look more readable
now.
2012-11-13 16:59:10 -08:00
Brandon Heller 615ebb7afa pep8: Fix E125 continuation line does not distinguish itself from next logical line 2012-11-13 14:56:49 -08:00
Brandon Heller 0bd5c6519c pep8: Fix E203 whitespace before punctutation 2012-11-13 14:39:31 -08:00
Bob Lantz 14ff3ad3d0 Fix codecheck and MininetWithControlNet. 2012-03-10 20:44:34 -08:00
Bob Lantz 6f446f6e55 Make pylint happy. 2012-03-02 15:45:10 -08:00
Bob Lantz 73a098a499 Use __dict__.update to update an object's fields. 2010-09-01 19:51:09 -07:00
Bob Lantz e3f6ecca97 Pass codecheck. 2010-05-06 17:48:15 -07:00
Bob Lantz 82b7207295 Pass pylint. 2010-05-06 16:24:15 -07:00
Bob Lantz 259d713315 Pass pyflakes. 2010-05-04 19:11:12 -07:00
Bob Lantz c79882b766 Fixed typo. 2010-05-04 17:32:46 -07:00
Bob Lantz fa20913b56 Added space to one line. 2010-04-29 16:18:25 -07:00
Bob Lantz ab1fb093d1 Added output hook and graph. 2010-04-22 17:01:54 -07:00
Bob Lantz 3482b4467c Changed to not print control chars we don't handle. 2010-04-12 18:32:32 -07:00
Bob Lantz e7ba6b9ebb Add title to consoles. 2010-04-11 01:43:35 -07:00
Bob Lantz fce4d59dc1 Added ability to show switches and controllers. 2010-04-11 01:12:23 -07:00
Bob Lantz c3a583c813 Changed comment on iperf. 2010-04-10 22:40:12 -07:00
Bob Lantz e123afea97 Changed to let iperf run indefinitely. Simplifies things. 2010-04-10 22:38:20 -07:00
Bob Lantz 7ad4829203 Added iperf command. 2010-04-10 22:27:55 -07:00
Bob Lantz 8e4d818a60 Made the scroll bars narrower to fit ping output on my 15" screen. 2010-04-10 21:01:44 -07:00
Bob Lantz d0e53ca863 Added semi-interactive command line support.
Now you can type commands into each mini-console!
2010-04-10 20:52:45 -07:00
Bob Lantz afe0ce81a5 Added simple console tool demo.
The console tool spawns and monitors a bunch of nodes.
2010-04-10 19:26:54 -07:00