Skip to content

Commit 8174d04

Browse files
committed
Fix flake8 errors
1 parent 21206c1 commit 8174d04

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
filename = os.path.join(HERE, 'win32ctypes', 'version.py')
1010
with open(filename, 'w') as handle:
11-
handle.write('__version__="%s"\n' % version)
11+
handle.write('__version__ = "%s"\n' % version)
1212

1313
setup(
1414
name='pywin32-ctypes',

win32ctypes/pywin32/win32api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from win32ctypes.core import (
1010
_common, _dll, _resource, _system_information, _backend, _time)
1111
from .pywintypes import pywin32error as _pywin32error
12-
from ._constants import LOAD_LIBRARY_AS_DATAFILE, LANG_NEUTRAL
12+
from ._constants import LOAD_LIBRARY_AS_DATAFILE, LANG_NEUTRAL # noqa
1313

1414

1515
def LoadLibraryEx(fileName, handle, flags):

win32ctypes/pywin32/win32cred.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@
1010
from .pywintypes import pywin32error as _pywin32error
1111

1212
# Bring constants into namespace
13-
from win32ctypes.constants import (
13+
from win32ctypes.constants import ( # noqa
1414
CRED_TYPE_GENERIC,
1515
CRED_PERSIST_SESSION,
1616
CRED_PERSIST_LOCAL_MACHINE,
17-
CRED_PERSIST_ENTERPRISE) # noqa
17+
CRED_PERSIST_ENTERPRISE)
18+
1819

1920
def CredWrite(Credential, Flags=0):
2021
""" Creates or updates a stored credential.

0 commit comments

Comments
 (0)