Is there a tool that checks/imposes PEP 8 (ie the right core coding style?). It
seems that bugfix patches which miss on style are rejected out of hand. So since
I'm quite chaotic and unable to get on with the "foolish consistency" people it
would be nice if there's some way to actually fix broken code without too much
mind numbing attention to spacing around operators etc.
--
Robin Becker 5 2763
On Mon, Nov 08, 2004 at 10:53:51AM +0000, Robin Becker wrote: Is there a tool that checks/imposes PEP 8 (ie the right core coding style?). It seems that bugfix patches which miss on style are rejected out of hand. [...]
I doubt that's the case. Care to provide an example?
-- Gerhard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBj1J/dIO4ozGCH14RAuj+AJ9HpGviJYxFZkm5qd6JIcl+JRMeBgCff/pg
Ryz2jK/mDedCqoIDpIU6dRg=
=gML6
-----END PGP SIGNATURE-----
Gerhard Haering wrote: On Mon, Nov 08, 2004 at 10:53:51AM +0000, Robin Becker wrote:
Is there a tool that checks/imposes PEP 8 (ie the right core coding style?). It seems that bugfix patches which miss on style are rejected out of hand. [...]
I doubt that's the case. Care to provide an example?
-- Gerhard
Date: 2004-11-07 14:32
Sender: *******
Logged In: YES
user_id=31392
The formatting of this patch is wrong. There is a long line
(>80 chars) and missing whitespace around commas, operators,
etc.
--
Robin Becker
Sylvain Thenault wrote: On Mon, 08 Nov 2004 10:53:51 +0000, Robin Becker wrote:
Is there a tool that checks/imposes PEP 8 (ie the right core coding style?).
The default pylint's policy is consistent with Guido's style guide. But it only checks, not imposes anything nor patches the code to fix detected problems. Pylint is available from http://www.logilab.org/projects/pylint
thanks I'll give it a whirl
--
Robin Becker
On Mon, Nov 08, 2004 at 11:42:46AM +0000, Robin Becker wrote: Gerhard Haering wrote:On Mon, Nov 08, 2004 at 10:53:51AM +0000, Robin Becker wrote:
Is there a tool that checks/imposes PEP 8 (ie the right core coding style?). It seems that bugfix patches which miss on style are rejected out of hand. [...]
I doubt that's the case. Care to provide an example? Date: 2004-11-07 14:32 Sender: ******* Logged In: YES user_id=31392 The formatting of this patch is wrong. There is a long line (>80 chars) and missing whitespace around commas, operators, etc.
URL?
-- Gerhard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBj1zOdIO4ozGCH14RAk97AJ4xcz3M5/SSBRlyWNrt6oLYDT2LBwCgoRdF
Y6uq0G+nHYcH77vJMr6UXG4=
=ryGv
-----END PGP SIGNATURE----- This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: techy techno |
last post by:
hii Experts..!!
I need someone to tell me where I can get a Currency Converter like
http://cconv.textor.com
please can someone tell me where I can get it
I need it for free + I dont need...
|
by: jorfei |
last post by:
I have written a component with a property IPAdrress of type
System.Net.IPAddress. To ease the configuration of the component at design
time, I have written a type converter for the type...
|
by: Jon Rea |
last post by:
is there a c# -> c++ code converter out there ?
Hi people,
I was just wondering if there is a C# to C++ converter out there. I have
some working c# code and need to integrate it into a...
|
by: TheMadHatter |
last post by:
does anybody know of a half decent converter?????
I tried the "VBConversions VB.Net to C# Converter" with
less than satisfactory results, and an unnecisary hole in the
bank.
|
by: Max Power |
last post by:
I'm having some trouble with an RTF converter called Logictran R2Net
when two users access my site simultaneously. My application simply
runs an SQL query (based on parameters typed by user) that...
|
by: John |
last post by:
Hi
Is there a way to convert whole c# projects (or solutions) to vb.net
projects or solutions? Most converters I have come across only convert
snippets.
Thanks
Regards
|
by: Nikola |
last post by:
Hellooo! Can someone help me please. I tipe this code and it don't work!!!
Whyyyyyy.
<html>
<head>
<title>Text object value</title>
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--...
|
by: Tana |
last post by:
Hi,
My company wants to migrate all our apps from vb.net to c#.
Can someone recommend a good migrate/convert tool?
I am hoping that such a tool can do a 90-95% work for me, and I will do the...
|
by: esha |
last post by:
I tried several online converters. In many case they do the job, but
sometimes give some mess. I think that all converters I know are old, were
created for VS 2003 and do not understand new stuff...
|
by: John Dalberg |
last post by:
I have been trying a few commerical vb.net to c# converters. None of them
converts inline vb.net asp.net code?
Is there any converter that can convert inline code (code in aspx files)?
I don't...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |