Skip to content

Commit 65d4c41

Browse files
committed
fix: ruff config
1 parent cbbbc60 commit 65d4c41

File tree

5 files changed

+3
-4
lines changed

5 files changed

+3
-4
lines changed

github_archive/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from github_archive.archive import GithubArchive
22

3-
43
__all__ = [
54
"GithubArchive",
65
]

github_archive/constants.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import os
22
from typing import Literal
33

4-
54
DEFAULT_BASE_URL = "https://api.github.com"
65
DEFAULT_LOCATION = os.path.join("~", "github-archive")
76
DEFAULT_NUM_THREADS = 10

github_archive/gists.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
import woodchips
1717
from github import Gist
1818

19-
2019
if TYPE_CHECKING:
2120
# This is needed to get around circular imports while allowing `mypy` to be happy
2221
from github_archive.archive import GithubArchive # pragma: no cover

github_archive/repos.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
import woodchips
1717
from github import Repository
1818

19-
2019
if TYPE_CHECKING:
2120
# This is needed to get around circular imports while allowing `mypy` to be happy
2221
from github_archive.archive import GithubArchive # pragma: no cover

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,8 @@ github_archive = ["py.typed"]
3434
[tool.ruff]
3535
line-length = 120
3636

37+
[tool.ruff.lint]
38+
extend-select = ["I", "E501"]
39+
3740
[tool.mypy]
3841
disable_error_code = "import-untyped"

0 commit comments

Comments
 (0)