mirror of https://github.com/ceph/ceph
qa: Add mypy to make check
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
This commit is contained in:
parent
ad7bec46d7
commit
81305b0da9
|
@ -5,5 +5,5 @@ endif()
|
|||
|
||||
if(WITH_TESTS)
|
||||
include(AddCephTest)
|
||||
add_tox_test(qa TOX_ENVS py3 flake8 import-tasks)
|
||||
add_tox_test(qa TOX_ENVS py3 flake8 import-tasks mypy)
|
||||
endif()
|
||||
|
|
|
@ -23,9 +23,9 @@ def timeout(seconds):
|
|||
"""
|
||||
introduced by Linux 3.15
|
||||
"""
|
||||
fcntl.F_OFD_GETLK = 36
|
||||
fcntl.F_OFD_SETLK = 37
|
||||
fcntl.F_OFD_SETLKW = 38
|
||||
setattr(fcntl, "F_OFD_GETLK", 36)
|
||||
setattr(fcntl, "F_OFD_SETLK", 37)
|
||||
setattr(fcntl, "F_OFD_SETLKW", 38)
|
||||
|
||||
|
||||
def main():
|
||||
|
|
Loading…
Reference in New Issue