diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index af3722b..42f7949 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,8 +1,8 @@ # See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks repos: -- repo: https://github.com/myint/autoflake - rev: v1.7.6 +- repo: https://github.com/PyCQA/autoflake + rev: v2.3.1 hooks: - id: autoflake args: @@ -12,15 +12,15 @@ repos: - --expand-star-imports - --ignore-init-module-imports - repo: https://github.com/psf/black - rev: 22.10.0 + rev: 24.10.0 hooks: - id: black -- repo: https://github.com/pre-commit/mirrors-isort - rev: v5.10.1 +- repo: https://github.com/PyCQA/isort + rev: 5.13.2 hooks: - id: isort additional_dependencies: [toml] - repo: https://github.com/asottile/setup-cfg-fmt - rev: v2.1.0 + rev: v2.7.0 hooks: - id: setup-cfg-fmt diff --git a/irun/compiler.py b/irun/compiler.py index d4aa764..343740a 100644 --- a/irun/compiler.py +++ b/irun/compiler.py @@ -12,8 +12,7 @@ def construct(node): return node -class Matcher: - ... +class Matcher: ... class AnyMatcher(Matcher): diff --git a/irun/parser.py b/irun/parser.py index a3eb563..59eb5c9 100644 --- a/irun/parser.py +++ b/irun/parser.py @@ -13,12 +13,10 @@ class singleton(ast.AST): _attributes = ("lineno", "col_offset", "end_lineno", "end_col_offset") -class IgnoreOne(singleton): - ... +class IgnoreOne(singleton): ... -class IgnoreAny(singleton): - ... +class IgnoreAny(singleton): ... class Reference(ast.expr): diff --git a/setup.cfg b/setup.cfg index 6907028..3a7772d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -7,11 +7,11 @@ long_description_content_type = text/markdown url = https://github.com/reizio/irun author = isidentical author_email = isidentical@gmail.com -license_file = LICENSE.txt +license_files = LICENSE.txt classifiers = Programming Language :: Python :: 3 Programming Language :: Python :: 3 :: Only [options] packages = find: -python_requires = >=3.8 +python_requires = >=3.9