Skip to content

Commit cc99989

Browse files
committed
pre-commit autoupdate
1 parent aee2214 commit cc99989

File tree

6 files changed

+9
-4
lines changed

6 files changed

+9
-4
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.3.0
3+
rev: v4.5.0
44
hooks:
55
- id: check-ast
66
- id: check-toml
77
- id: check-yaml
88
- id: end-of-file-fixer
99
- id: trailing-whitespace
1010
- repo: https://github.com/psf/black
11-
rev: 22.8.0
11+
rev: 24.3.0
1212
hooks:
1313
- id: black
1414
- repo: https://github.com/codespell-project/codespell
15-
rev: v2.2.1
15+
rev: v2.2.6
1616
hooks:
1717
- id: codespell
1818
- repo: https://github.com/PyCQA/flake8
19-
rev: 5.0.4
19+
rev: 7.0.0
2020
hooks:
2121
- id: flake8
2222
- repo: https://github.com/PyCQA/isort

landlock/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Python interface to the Landlock Linux Security Module."""
2+
23
from typing import Optional
34

45
__version__ = "1.0.0.dev4"

landlock/plumbing.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Landlock constants and syscalls."""
2+
23
import ctypes
34
import enum
45
import errno

tests/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Test initialisation code run by pytest."""
2+
23
import platform
34
from pathlib import Path
45

tests/test_simple.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Some simple tests for Landlock."""
2+
23
import platform
34
from pathlib import Path
45

tests/test_unsupported_platforms.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Tests Landlock on unsupported platforms (MacOS and Windows)."""
2+
23
import platform
34

45
import pytest

0 commit comments

Comments
 (0)