diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8ef7504..85be165 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v6.0.0 hooks: - id: debug-statements - id: double-quote-string-fixer @@ -8,34 +8,34 @@ repos: - id: requirements-txt-fixer - id: trailing-whitespace - repo: https://github.com/asottile/setup-cfg-fmt - rev: v2.3.0 + rev: v3.2.0 hooks: - id: setup-cfg-fmt - repo: https://github.com/PyCQA/flake8 - rev: 6.0.0 + rev: 7.3.0 hooks: - id: flake8 additional_dependencies: [flake8-typing-imports==1.14.0] -- repo: https://github.com/pre-commit/mirrors-autopep8 - rev: v2.0.2 +- repo: https://github.com/hhatto/autopep8 + rev: v2.3.2 hooks: - id: autopep8 - repo: https://github.com/asottile/add-trailing-comma - rev: v2.4.0 + rev: v4.0.0 hooks: - id: add-trailing-comma - repo: https://github.com/asottile/pyupgrade - rev: v3.4.0 + rev: v3.21.2 hooks: - id: pyupgrade args: [--py37-plus] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.3.0 + rev: v1.19.1 hooks: - id: mypy exclude: ^tests/ - repo: https://github.com/pycqa/isort - rev: 5.12.0 + rev: 7.0.0 hooks: - id: isort name: isort diff --git a/pytestify/fixes/asserts.py b/pytestify/fixes/asserts.py index 6559b64..3ae6181 100644 --- a/pytestify/fixes/asserts.py +++ b/pytestify/fixes/asserts.py @@ -185,7 +185,7 @@ def visit_Call(self, call: ast.Call) -> None: comments=comments, commas=commas, keywords=call.keywords, - **kwargs + **kwargs, ), ) diff --git a/setup.cfg b/setup.cfg index 75726b7..993450e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -10,7 +10,6 @@ author_email = dannysepler@gmail.com license = MIT license_files = LICENSE classifiers = - License :: OSI Approved :: MIT License Programming Language :: Python :: 3 Programming Language :: Python :: 3 :: Only project_urls = @@ -20,7 +19,7 @@ project_urls = packages = find: install_requires = tokenize-rt>=4.0.0 -python_requires = >=3.7 +python_requires = >=3.10 [options.packages.find] exclude =