mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-python
synced 2026-01-15 09:53:32 +01:00
Streamline Python file headers somewhat
- Add coding statement
- Import all modules in one line where possible
- Order: __future__, typing, plain imports, from imports,
janware modules
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
862a5dbc95
commit
428692ea3a
21 changed files with 50 additions and 40 deletions
|
|
@ -1,3 +1,5 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
from typing import List, Tuple, Optional, Any
|
||||
|
|
@ -6,6 +8,7 @@ import sys, re, io, syslog, inspect
|
|||
|
||||
from os.path import basename
|
||||
from datetime import datetime
|
||||
|
||||
from . import misc
|
||||
|
||||
# --- python 2 / 3 compatibility stuff
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue