diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 11bead750c..7837f6df63 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,7 +18,7 @@ repos: rev: v3.9.0 hooks: - id: reorder-python-imports - args: [--py37-plus, --add-import, 'from __future__ import annotations'] + args: [--py37-plus] - repo: https://github.com/asottile/add-trailing-comma rev: v2.3.0 hooks: @@ -33,6 +33,10 @@ repos: rev: v2.0.0 hooks: - id: autopep8 + args: + - --aggressive + - --verbose + - -d - repo: https://github.com/PyCQA/flake8 rev: 6.0.0 hooks: diff --git a/src/revChatGPT/__main__.py b/src/revChatGPT/__main__.py index 723bec22b0..de9d5b537b 100644 --- a/src/revChatGPT/__main__.py +++ b/src/revChatGPT/__main__.py @@ -1,5 +1,3 @@ -from __future__ import annotations - import json import textwrap from os.path import exists