From e2a32fec7e8327b2dac652ef6d3ef6f93d145676 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Fri, 21 Jul 2023 16:08:50 -0300 Subject: [PATCH] linting --- scripts/versionbump.py | 4 +++- tests/test_coder.py | 1 - tests/test_repomap.py | 1 - 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/versionbump.py b/scripts/versionbump.py index 027e15658..52ba19173 100644 --- a/scripts/versionbump.py +++ b/scripts/versionbump.py @@ -19,7 +19,9 @@ def main(): raise ValueError(f"Invalid version format, must be x.y.z: {new_version_str}") new_version = version.parse(new_version_str) - incremented_version = version.Version(f"{new_version.major}.{new_version.minor}.{new_version.micro + 1}") + incremented_version = version.Version( + f"{new_version.major}.{new_version.minor}.{new_version.micro + 1}" + ) with open("aider/__init__.py", "r") as f: content = f.read() diff --git a/tests/test_coder.py b/tests/test_coder.py index 856bd9abc..a9ffaeca5 100644 --- a/tests/test_coder.py +++ b/tests/test_coder.py @@ -1,4 +1,3 @@ -import os import tempfile import unittest from pathlib import Path diff --git a/tests/test_repomap.py b/tests/test_repomap.py index 1ecc951b2..82c100468 100644 --- a/tests/test_repomap.py +++ b/tests/test_repomap.py @@ -4,7 +4,6 @@ from unittest.mock import patch from aider.io import InputOutput from aider.repomap import RepoMap - from tests.utils import IgnorantTemporaryDirectory