Skip to content

Commit

Permalink
Style Guide: Fix indentation #287
Browse files Browse the repository at this point in the history
  • Loading branch information
dchristidis authored and bari12 committed Apr 9, 2024
1 parent b709a16 commit 8695140
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions docs/developer/style_guide.md
Expand Up @@ -31,32 +31,32 @@ if TYPE_CHECKING:

#### Examples:
```python
# Wrong
# Wrong
import rucio
from datetime import *
import os

# Right
# Right
import os
from datetime import datetime, timedelta

from rucio.core.did import add_did
```

```python
# Wrong
# Wrong
from packageA import moduleA, moduleB, moduleC, moduleD, moduleE, moduleF, moduleG, ...

# Right
# Right
from packageA import (
moduleA,
moduleB,
moduleC,
moduleD,
moduleE,
moduleF,
moduleG,
...
moduleA,
moduleB,
moduleC,
moduleD,
moduleE,
moduleF,
moduleG,
...
)
```

Expand Down

0 comments on commit 8695140

Please sign in to comment.