Skip to content

Commit 0ebec9d

Browse files
[pre-commit.ci] pre-commit autoupdate (#72)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/adrienverge/yamllint.git: v1.33.0 → v1.34.0](https://github.com/adrienverge/yamllint.git/compare/v1.33.0...v1.34.0) - [github.com/astral-sh/ruff-pre-commit: v0.1.11 → v0.2.1](astral-sh/ruff-pre-commit@v0.1.11...v0.2.1) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update CHANGELOG --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Nguyen Damien <ngn.damien@gmail.com>
1 parent da0e8cd commit 0ebec9d

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ repos:
4444
args: [-I, .codespell.allow]
4545

4646
- repo: https://github.com/adrienverge/yamllint.git
47-
rev: v1.33.0
47+
rev: v1.34.0
4848
hooks:
4949
- id: yamllint
5050

@@ -56,7 +56,7 @@ repos:
5656
additional_dependencies: [black==23.3.0]
5757

5858
- repo: https://github.com/astral-sh/ruff-pre-commit
59-
rev: v0.1.11
59+
rev: v0.2.1
6060
hooks:
6161
- id: ruff-format
6262
name: ruff (format)

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
### Repository
1111

1212
- Update GitHub Actions `github/codeql-action` from v2 to v3
13-
- Update `astral-sh/ruff-pre-commit` hook to v0.1.11
13+
- Update `astral-sh/ruff-pre-commit` hook to v0.2.1
14+
- Update `adrienverge/yamllint` hook to v1.34.0
1415

1516
## [v1.5.1] - 2023-12-15
1617

tests/os_mkdir_mkfifo_mknod_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class TestSecureCodingStandardChecker(pylint.testutils.CheckerTestCase):
8383
'os.mknod(dir_name, mode=mode)',
8484
],
8585
)
86-
def test_os_function_ok(self, mocker, platform, function, option, s): # noqa: PLR0917
86+
def test_os_function_ok(self, mocker, platform, function, option, s):
8787
mocker.patch('platform.system', return_value=platform)
8888
getattr(self.checker, f'set_os_{function}_allowed_modes')(str(option))
8989

0 commit comments

Comments
 (0)