[chirp_devel] Build test results: Successful

Dan Smith
Sun Mar 15 14:47:44 PDT 2015


> When it does the
> 
> python tools\cpep8.py
> 
> at the end, the computer pauses while I assume the script is doing
> something, but it finishes without displaying anything. Is that
> normal?

Yep, that means you're good. If you go change something to break a rule
and re-run it you should see an error. For example, if you make this change:

> diff -r d0afd97ebb04 chirp/drivers/uv5r.py
> --- a/chirp/drivers/uv5r.py     Sun Mar 15 13:16:48 2015 -0700
> +++ b/chirp/drivers/uv5r.py     Sun Mar 15 14:46:17 2015 -0700
> @@ -276,7 +276,7 @@
> 
>  # 0x1EC0 - 0x2000
> 
> -vhf_220_radio = "\x02"
> +vhf_220_radio= "\x02"
> 
>  BASETYPE_UV5R = ["BFS", "BFB", "N5R-2", "BTS"]
>  BASETYPE_F11 = ["USA"]

The pep8 checker will complain:

./chirp/drivers/uv5r.py:279:14: E225 missing whitespace around operator

That means "Line 217, character 14, there should be a space before the =
operator".

--Dan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
Url : http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20150315/93ba4024/attachment-0001.bin 


More information about the chirp_devel mailing list