Re: [Sycamore-Dev] Changeset 684

2007-05-24 Thread Rottenchester
Did you use a tool to do that?   If not, maybe there's a pretty
print tool we can use to automate the changes.

On 5/24/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  awesome!

 In case you're curious, I checked in some whitespace changes[1].

 There might be some bugs from that but it should be pretty obvious (ie
 generate a traceback). The 4 spaces rule still needs to be implemented.

 Scott
 
 [1] http://sycamore.devjavu.com/projects/sycamore/changeset/684

 ___
 Sycamore-Dev mailing list
 [EMAIL PROTECTED]
 http://www.projectsycamore.org/
 https://tools.cernio.com/mailman/listinfo/sycamore-dev

___
Sycamore-Dev mailing list
[EMAIL PROTECTED]
http://www.projectsycamore.org/
https://tools.cernio.com/mailman/listinfo/sycamore-dev


Re: [Sycamore-Dev] Changeset 684

2007-05-24 Thread scott
 Did you use a tool to do that?   If not, maybe there's a pretty
 print tool we can use to automate the changes.

Unfortunately, no. Python is pretty picky about whitespace. Just
converting tabs to 4 spaces wouldn't have worked in most cases. I'm not
above using brute force in cases like this if it only means a couple hours
of braindead work.

The change to 4 spaces will also probably have to be done manually. If
there are no other volunteers, I'll do it.

Scott

___
Sycamore-Dev mailing list
[EMAIL PROTECTED]
http://www.projectsycamore.org/
https://tools.cernio.com/mailman/listinfo/sycamore-dev


Re: [Sycamore-Dev] Changeset 684

2007-05-24 Thread Rottenchester
You guys might also be interested in pylint, which supposedly can
enforce coding standards:

http://www.logilab.org/857

On 5/24/07, Adam Dewitz [EMAIL PROTECTED] wrote:
 I'll help. We need to come up with a plan so we don't overlap.


 On May 24, 2007, at 9:52 AM, [EMAIL PROTECTED] wrote:

  Did you use a tool to do that?   If not, maybe there's a pretty
  print tool we can use to automate the changes.

 Unfortunately, no. Python is pretty picky about whitespace. Just
 converting tabs to 4 spaces wouldn't have worked in most cases. I'm not
 above using brute force in cases like this if it only means a couple
 hours
 of braindead work.

 The change to 4 spaces will also probably have to be done manually. If
 there are no other volunteers, I'll do it.

 Scott

 ___
 Sycamore-Dev mailing list
 [EMAIL PROTECTED]
 http://www.projectsycamore.org/
 https://tools.cernio.com/mailman/listinfo/sycamore-dev

 ___
 Sycamore-Dev mailing list
 [EMAIL PROTECTED]
 http://www.projectsycamore.org/
 https://tools.cernio.com/mailman/listinfo/sycamore-dev

___
Sycamore-Dev mailing list
[EMAIL PROTECTED]
http://www.projectsycamore.org/
https://tools.cernio.com/mailman/listinfo/sycamore-dev