diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 576f1d8..b226cc4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,11 +2,11 @@ default_language_version: python: python3 repos: - repo: https://github.com/psf/black - rev: 23.1.0 + rev: 24.3.0 hooks: - id: black - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.5.0 hooks: - id: check-added-large-files - id: check-case-conflict @@ -24,21 +24,21 @@ repos: - id: sort-simple-yaml - id: trailing-whitespace - repo: https://github.com/codespell-project/codespell - rev: v2.2.2 + rev: v2.2.6 hooks: - id: codespell additional_dependencies: ["tomli"] - repo: https://github.com/asottile/pyupgrade - rev: v3.3.1 + rev: v3.15.1 hooks: - id: pyupgrade args: [--py38-plus] - repo: https://github.com/PyCQA/isort - rev: 5.12.0 + rev: 5.13.2 hooks: - id: isort - repo: https://github.com/pycqa/flake8 - rev: 6.0.0 + rev: 7.0.0 hooks: - id: flake8 additional_dependencies: @@ -47,7 +47,7 @@ repos: - flake8-debugger==4.1.2 - flake8-string-format==0.3.0 - repo: https://github.com/pycqa/bandit - rev: 1.7.4 + rev: 1.7.8 hooks: - id: bandit args: [-c, pyproject.toml] diff --git a/noxfile.py b/noxfile.py index e067d33..d4c4b58 100644 --- a/noxfile.py +++ b/noxfile.py @@ -1,4 +1,5 @@ """Automation using nox.""" + import glob import os diff --git a/pyproject.toml b/pyproject.toml index aaa9a98..079f1fb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -82,7 +82,7 @@ dummy-variables-rgx = "_+$|(_[a-zA-Z0-9_]*[a-zA-Z0-9]+?$)|dummy|^ignored_|^unuse ignored-argument-names = "_.*|^ignored_|^unused_|args|kwargs" [tool.codespell] -ignore-words-list = "fo,cachable" +ignore-words-list = "fo,cachable,afile" [tool.bandit] exclude_dirs = ["tests"] diff --git a/tests/test_morefs.py b/tests/test_morefs.py index 94119c1..1ed2ca0 100644 --- a/tests/test_morefs.py +++ b/tests/test_morefs.py @@ -1,4 +1,5 @@ """Tests for `morefs` package.""" + import fsspec import pytest