Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 29, 2024
1 parent 6124fad commit 6de813a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions landlock/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Python interface to the Landlock Linux Security Module."""

from typing import Optional

__version__ = "1.0.0.dev4"
Expand Down
1 change: 1 addition & 0 deletions landlock/plumbing.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Landlock constants and syscalls."""

import ctypes
import enum
import errno
Expand Down
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test initialisation code run by pytest."""

import platform
from pathlib import Path

Expand Down
1 change: 1 addition & 0 deletions tests/test_simple.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Some simple tests for Landlock."""

import platform
from pathlib import Path

Expand Down
1 change: 1 addition & 0 deletions tests/test_unsupported_platforms.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests Landlock on unsupported platforms (MacOS and Windows)."""

import platform

import pytest
Expand Down

0 comments on commit 6de813a

Please sign in to comment.