mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-22 21:34:59 +00:00
linting
This commit is contained in:
parent
9f8ea93ce6
commit
e2a32fec7e
3 changed files with 3 additions and 3 deletions
|
@ -19,7 +19,9 @@ def main():
|
||||||
raise ValueError(f"Invalid version format, must be x.y.z: {new_version_str}")
|
raise ValueError(f"Invalid version format, must be x.y.z: {new_version_str}")
|
||||||
|
|
||||||
new_version = version.parse(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:
|
with open("aider/__init__.py", "r") as f:
|
||||||
content = f.read()
|
content = f.read()
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
import os
|
|
||||||
import tempfile
|
import tempfile
|
||||||
import unittest
|
import unittest
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
|
@ -4,7 +4,6 @@ from unittest.mock import patch
|
||||||
|
|
||||||
from aider.io import InputOutput
|
from aider.io import InputOutput
|
||||||
from aider.repomap import RepoMap
|
from aider.repomap import RepoMap
|
||||||
|
|
||||||
from tests.utils import IgnorantTemporaryDirectory
|
from tests.utils import IgnorantTemporaryDirectory
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue