File tree Expand file tree Collapse file tree 5 files changed +3
-4
lines changed
Expand file tree Collapse file tree 5 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 11from github_archive .archive import GithubArchive
22
3-
43__all__ = [
54 "GithubArchive" ,
65]
Original file line number Diff line number Diff line change 11import os
22from typing import Literal
33
4-
54DEFAULT_BASE_URL = "https://api.github.com"
65DEFAULT_LOCATION = os .path .join ("~" , "github-archive" )
76DEFAULT_NUM_THREADS = 10
Original file line number Diff line number Diff line change 1616import woodchips
1717from github import Gist
1818
19-
2019if 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
Original file line number Diff line number Diff line change 1616import woodchips
1717from github import Repository
1818
19-
2019if 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
Original file line number Diff line number Diff line change @@ -34,5 +34,8 @@ github_archive = ["py.typed"]
3434[tool .ruff ]
3535line-length = 120
3636
37+ [tool .ruff .lint ]
38+ extend-select = [" I" , " E501" ]
39+
3740[tool .mypy ]
3841disable_error_code = " import-untyped"
You can’t perform that action at this time.
0 commit comments