diff --git a/landlock/__init__.py b/landlock/__init__.py index 2b50a30..b7519e1 100644 --- a/landlock/__init__.py +++ b/landlock/__init__.py @@ -1,4 +1,5 @@ """Python interface to the Landlock Linux Security Module.""" + from typing import Optional __version__ = "1.0.0.dev4" diff --git a/landlock/plumbing.py b/landlock/plumbing.py index 05ffcd2..efcc7c8 100644 --- a/landlock/plumbing.py +++ b/landlock/plumbing.py @@ -1,4 +1,5 @@ """Landlock constants and syscalls.""" + import ctypes import enum import errno diff --git a/tests/conftest.py b/tests/conftest.py index cd02c1d..62668a4 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,4 +1,5 @@ """Test initialisation code run by pytest.""" + import platform from pathlib import Path diff --git a/tests/test_simple.py b/tests/test_simple.py index c48ad26..39b1083 100644 --- a/tests/test_simple.py +++ b/tests/test_simple.py @@ -1,4 +1,5 @@ """Some simple tests for Landlock.""" + import platform from pathlib import Path diff --git a/tests/test_unsupported_platforms.py b/tests/test_unsupported_platforms.py index 5e6c42d..37b55b6 100644 --- a/tests/test_unsupported_platforms.py +++ b/tests/test_unsupported_platforms.py @@ -1,4 +1,5 @@ """Tests Landlock on unsupported platforms (MacOS and Windows).""" + import platform import pytest