Skip to content

Commit 02fa329

Browse files
committed
Remove obsolete imports
Looks like `from ..libs.sublimefunctions import *` implicitly imports its imported modules as well. Hence `import os.path` in create.py can be removed. Furthermore remove the empty line between the `coding utf8` line and the first import in some files to gain consistent look of sources.
1 parent 19ae1b5 commit 02fa329

10 files changed

Lines changed: 0 additions & 10 deletions

File tree

FileManager.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- encoding: utf-8 -*-
2-
import os
32
import sys
43

54
import sublime

commands/create.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- encoding: utf-8 -*-
2-
import os.path
32
from ..libs.input_for_path import InputForPath
43
from ..libs.sublimefunctions import *
54
from .appcommand import AppCommand

commands/editto.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- encoding: utf-8 -*-
2-
32
from ..libs.sublimefunctions import *
43
from .appcommand import AppCommand
54

commands/find_in_files.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- encoding: utf-8 -*-
2-
32
from ..libs.sublimefunctions import *
43
from .appcommand import AppCommand
54

commands/move.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- encoding: utf-8 -*-
2-
32
from ..libs.input_for_path import InputForPath
43
from ..libs.sublimefunctions import *
54
from .appcommand import AppCommand

commands/open_all.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- encoding: utf-8 -*-
2-
32
from ..libs.sublimefunctions import *
43
from .appcommand import AppCommand
54

commands/open_in_browser.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- encoding: utf-8 -*-
2-
32
from ..libs.sublimefunctions import *
43
from .appcommand import AppCommand
54

commands/open_in_explorer.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- encoding: utf-8 -*-
2-
32
from ..libs.sublimefunctions import *
43
from .appcommand import AppCommand
54

commands/open_terminal.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- encoding: utf-8 -*-
2-
32
import subprocess
43
from ..libs.sublimefunctions import *
54
from .appcommand import AppCommand

libs/sublimefunctions.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import os
2-
import sys
32

43
import sublime
54

0 commit comments

Comments
 (0)