Jan-02-2017, 05:52 AM
(Dec-28-2016, 01:58 AM)Skaperen Wrote: that (return validipv4(addr) or validipv6(addr)) does look like better code. i guess i'm still not well weened off C. i need to work on that.Could you not do the same kind of simplification in C?
(Dec-28-2016, 01:58 AM)Skaperen Wrote: what linter do you suggest and why? pylint? pyflakes?When I've used a linter, I didn't need anything fancy so I just used whatever was fastest to get working with minimal Googling. Maybe someone else has a recommendation more in line what you would want, but anything with a license and big ass header probably deserves some linting :)