Skip to content

Commit

Permalink
Did ruff --fix
Browse files Browse the repository at this point in the history
  • Loading branch information
denisenkom committed Nov 23, 2023
1 parent 826c378 commit 0b80479
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
1 change: 0 additions & 1 deletion demo/simple_base.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import twain
import traceback, sys
import os, os.path

XferByFile = "File"
Expand Down
4 changes: 2 additions & 2 deletions src/twain/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1498,5 +1498,5 @@ def after(more: int) -> None:


# import all constants for backward compatibility
from .lowlevel.constants import *
from .windows import *
from .lowlevel.constants import * # noqa
from .windows import * # noqa
1 change: 0 additions & 1 deletion twexplore/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@
## python setup.py py2exe

from distutils.core import setup
import py2exe

setup(name="twexplore", windows=["twexplore.py"])
3 changes: 1 addition & 2 deletions twexplore/wxFrame1.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@
import wx

import twain
import string, traceback, sys
import traceback

import ChangeCap
import dlgAcquire
import dlgTransfer
import dlgIdentity
import twexplore


def create(parent):
Expand Down

0 comments on commit 0b80479

Please sign in to comment.