inconsistent tabs and spaces
Bug #1501732 reported by
Carsten Burgard
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MadGraph5_aMC@NLO |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
In MadGraph 2.2.3 and possible other versions, some source files (most notably "iolibs/
Changed in mg5amcnlo: | |
status: | Won't Fix → Fix Committed |
Changed in mg5amcnlo: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Dear Carsten,
I was not aware of that syntax, this is a cool option.
To my understanding a tab in python is not equal to 8 space. So I do not think that you can apply such change blindly.
I will try to correct one file a day but not promise.
The idea would be to force the -tt for all run in the development version in the future.
Cheers,
Olivier
On 01 Oct 2015, at 12:45, Carsten Burgard <email address hidden> wrote:
> Public bug reported: drawing_ eps.py" ) use tabs and spaces inconsistently. /bugs.launchpad .net/bugs/ 1501732 drawing_ eps.py" ) use tabs and spaces inconsistently. /bugs.launchpad .net/mg5amcnlo/ +bug/1501732/ +subscriptions
>
> In MadGraph 2.2.3 and possible other versions, some source files (most
> notably "iolibs/
> When running python with the "-tt" option, this causes the error message
> "TabError: inconsistent use of tabs and spaces in indentation". A fix of
> this should be trivially possible by replacing all tabs with 8 spaces in
> the source code, reflecting the default behavior of the python
> interpreter.
>
> ** Affects: mg5amcnlo
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to
> MadGraph5_aMC@NLO.
> https:/
>
> Title:
> inconsistent tabs and spaces
>
> Status in MadGraph5_aMC@NLO:
> New
>
> Bug description:
> In MadGraph 2.2.3 and possible other versions, some source files (most
> notably "iolibs/
> When running python with the "-tt" option, this causes the error
> message "TabError: inconsistent use of tabs and spaces in
> indentation". A fix of this should be trivially possible by replacing
> all tabs with 8 spaces in the source code, reflecting the default
> behavior of the python interpreter.
>
> To manage notifications about this bug go to:
> https:/