[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-users] Create an SVG skyview image from JSON data
From: |
Niccolo Rigacci |
Subject: |
Re: [gpsd-users] Create an SVG skyview image from JSON data |
Date: |
Thu, 4 Oct 2018 18:33:48 +0200 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Tue, Oct 02, 2018 at 12:25:28PM -0700, Gary E. Miller wrote:
>
> I have trouble with your sample output, I could not get it to
> render.
It should be fixed now.
> All gpsd code passes pycodestyle (PEP8 checks), but yours has
> 68 issues:
I fixed all the issues, except for the "E501 line too long". Now
I get:
pycodestyle --ignore=E501 skyview2svg | wc -l
0
How do you suggest to handle such long lines? They are infact
long strings making the SVG template. I tried to break them in
several Pythonic ways, but I think the readibility will be worse.
I fixed also some pylint issues, but it barks to me because I put
the program logic directly into the script body. Do you have some
hints? I wish to mantain it as a very simple script, which
everyone with modest programming knowledge can customize.
Thank you very much for your time.
--
Niccolo Rigacci - http://www.rigacci.net/
Campi Bisenzio - Firenze - Italy
Tel. Mobile: +39-327-5619352
skyview2svg.gz
Description: application/gzip
skyview.svg.gz
Description: application/gzip
- [gpsd-users] Create an SVG skyview image from JSON data, Niccolo Rigacci, 2018/10/02
- Re: [gpsd-users] Create an SVG skyview image from JSON data, Gary E. Miller, 2018/10/02
- Re: [gpsd-users] Create an SVG skyview image from JSON data, Gary E. Miller, 2018/10/04
- Re: [gpsd-users] Create an SVG skyview image from JSON data, Niccolo Rigacci, 2018/10/06
- Re: [gpsd-users] Create an SVG skyview image from JSON data, Gary E. Miller, 2018/10/06
- Re: [gpsd-users] Create an SVG skyview image from JSON data, Niccolo Rigacci, 2018/10/07
- Re: [gpsd-users] Create an SVG skyview image from JSON data, Gary E. Miller, 2018/10/08
- Re: [gpsd-users] Create an SVG skyview image from JSON data, Gerry Creager - NOAA Affiliate, 2018/10/10
- Re: [gpsd-users] Create an SVG skyview image from JSON data, Niccolo Rigacci, 2018/10/13