Skip to content

Commit 2c066bc

Browse files
authored
refactor: 使われていないライセンス URLs を削除 (#1637)
1 parent 6ed9263 commit 2c066bc

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

tools/generate_licenses.py

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -91,17 +91,8 @@ def __init__(
9191

9292
def _update_licenses(pip_licenses: list[_PipLicense]) -> list[_License]:
9393
"""pip から取得したライセンス情報の抜けを補完する。"""
94-
package_to_license_url = {
95-
"distlib": "https://bitbucket.org/pypa/distlib/raw/7d93712134b28401407da27382f2b6236c87623a/LICENSE.txt",
96-
"future": "https://raw.githubusercontent.com/PythonCharmers/python-future/master/LICENSE.txt",
97-
"jsonschema": "https://raw.githubusercontent.com/python-jsonschema/jsonschema/dbc398245a583cb2366795dc529ae042d10c1577/COPYING",
98-
"lockfile": "https://opendev.org/openstack/pylockfile/raw/tag/0.12.2/LICENSE",
99-
"pefile": "https://raw.githubusercontent.com/erocarrera/pefile/master/LICENSE",
100-
"platformdirs": "https://raw.githubusercontent.com/platformdirs/platformdirs/aa671aaa97913c7b948567f4d9c77d4f98bfa134/LICENSE",
101-
"pyopenjtalk": "https://raw.githubusercontent.com/r9y9/pyopenjtalk/master/LICENSE.md",
102-
"python-multipart": "https://raw.githubusercontent.com/andrew-d/python-multipart/master/LICENSE.txt",
103-
"romkan": "https://raw.githubusercontent.com/soimort/python-romkan/master/LICENSE",
104-
"webencodings": "https://raw.githubusercontent.com/gsnedders/python-webencodings/fa2cb5d75ab41e63ace691bc0825d3432ba7d694/LICENSE",
94+
package_to_license_url: dict[str, str] = {
95+
# "package_name": "https://license.adress.com/v0.0.0/LICENSE.txt",
10596
}
10697

10798
updated_licenses = []

0 commit comments

Comments
 (0)