fixes for flake 3.1.1

This commit is contained in:
Marian Beermann 2016-11-14 21:50:20 +01:00
parent cf8f8fb746
commit c380d91805
4 changed files with 5 additions and 1 deletions

View File

@ -136,6 +136,7 @@ def detect_libb2(prefixes):
if 'blake2b_init' in fd.read():
return prefix
include_dirs = []
library_dirs = []
define_macros = []

View File

@ -672,6 +672,7 @@ def replace_placeholders(text):
}
return format_line(text, data)
PrefixSpec = replace_placeholders
@ -1669,6 +1670,7 @@ def scandir_generic(path='.'):
for name in sorted(os.listdir(path)):
yield GenericDirEntry(path, name)
try:
from os import scandir
except ImportError:

View File

@ -34,6 +34,7 @@ def acl_set(path, item, numeric_owner=False):
of the user/group names
"""
try:
from os import lchflags

View File

@ -16,4 +16,4 @@ passenv = *
[testenv:flake8]
changedir =
deps = flake8
commands = flake8
commands = flake8 src scripts conftest.py