Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,18 +68,14 @@ select = [
"RSE",
# Refurb
"FURB",
# Flake8-future-annotations
"FA",
# Yesqa
"RUF100",
]
ignore = [
"E501", # line too long, duplicate with ruff fmt
]
future-annotations = true

[tool.ruff.lint.isort]
required-imports = ["from __future__ import annotations"]
known-first-party = ["gh_llm"]
combine-as-imports = true

Expand Down
2 changes: 0 additions & 2 deletions src/gh_llm/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# Meta information for the project.
from __future__ import annotations

__version__ = "0.1.16"
__author__ = "Nyakku Shigure"
__year__ = "2026"
Expand Down
2 changes: 0 additions & 2 deletions src/gh_llm/__main__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

import sys

from gh_llm.cli import run
Expand Down
2 changes: 0 additions & 2 deletions src/gh_llm/cli.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

import argparse
import shlex
import sys
Expand Down
1 change: 0 additions & 1 deletion src/gh_llm/commands/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
from __future__ import annotations
2 changes: 0 additions & 2 deletions src/gh_llm/commands/doctor.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

import json
import os
import shlex
Expand Down
2 changes: 0 additions & 2 deletions src/gh_llm/commands/issue.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

from dataclasses import dataclass
from typing import TYPE_CHECKING, Any

Expand Down
2 changes: 0 additions & 2 deletions src/gh_llm/commands/options.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

import sys
from datetime import UTC, datetime
from difflib import get_close_matches
Expand Down
2 changes: 0 additions & 2 deletions src/gh_llm/commands/pr.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

import json
import os
import re
Expand Down
2 changes: 0 additions & 2 deletions src/gh_llm/commands/repo.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

from typing import TYPE_CHECKING, Any

from gh_llm.github_api import GitHubClient
Expand Down
2 changes: 0 additions & 2 deletions src/gh_llm/diagnostics.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

import shlex
from dataclasses import dataclass
from typing import TYPE_CHECKING
Comment on lines 1 to 3
Expand Down
2 changes: 0 additions & 2 deletions src/gh_llm/environment.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

import os
import shlex
from typing import TYPE_CHECKING
Comment on lines 1 to 3
Expand Down
2 changes: 0 additions & 2 deletions src/gh_llm/github_api.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

import base64
import binascii
import json
Comment on lines 1 to 3
Expand Down
2 changes: 0 additions & 2 deletions src/gh_llm/invocation.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

import os
from pathlib import Path

Expand Down
2 changes: 0 additions & 2 deletions src/gh_llm/models.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

from dataclasses import dataclass, field
from typing import TYPE_CHECKING, cast

Comment on lines 1 to 3
Expand Down
2 changes: 0 additions & 2 deletions src/gh_llm/pager.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

import math
from typing import TYPE_CHECKING

Comment on lines 1 to 3
Expand Down
2 changes: 0 additions & 2 deletions src/gh_llm/pr_body.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

import re
import unicodedata
from dataclasses import dataclass
Expand Down
2 changes: 0 additions & 2 deletions src/gh_llm/render.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

import json
import re
import shlex
Expand Down
2 changes: 0 additions & 2 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

import argparse
import base64
import json
Expand Down
2 changes: 0 additions & 2 deletions tests/test_command_options.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

import argparse

import pytest
Expand Down
2 changes: 0 additions & 2 deletions tests/test_extension_entrypoint.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

import os
import stat
import subprocess
Expand Down
2 changes: 0 additions & 2 deletions tests/test_pr_body.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

from gh_llm.pr_body import (
build_pull_request_body_scaffold,
extract_markdown_section_titles,
Expand Down
Loading