From 9744b8108b24289814782e5be910ba7334b5b246 Mon Sep 17 00:00:00 2001 From: PyRo1121 Date: Wed, 7 Dec 2022 01:08:49 -0500 Subject: [PATCH] pre-commit test --- .pre-commit-config.yaml | 6 +++++- src/revChatGPT/__main__.py | 2 -- 2 files changed, 5 insertions(+), 3 deletions(-) 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