Skip to content

Commit

Permalink
pre-commit autoupdate
Browse files Browse the repository at this point in the history
  • Loading branch information
Edward-Knight committed Mar 30, 2024
1 parent aee2214 commit cc99989
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.5.0
hooks:
- id: check-ast
- id: check-toml
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 22.8.0
rev: 24.3.0
hooks:
- id: black
- repo: https://github.com/codespell-project/codespell
rev: v2.2.1
rev: v2.2.6
hooks:
- id: codespell
- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
rev: 7.0.0
hooks:
- id: flake8
- repo: https://github.com/PyCQA/isort
Expand Down
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 cc99989

Please sign in to comment.