Skip to content

Commit 7734319

Browse files
authored
Add PEP 723 inline metadata to scripts (#235)
1 parent b2cf3ae commit 7734319

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

scripts/configure-guild.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# /// script
2+
# requires-python = ">=3.11"
3+
# dependencies = [
4+
# "discord-py>=2.3.1",
5+
# "pydantic>=2.8.2",
6+
# ]
7+
# ///
18
"""Script to export all guild members and their roles to per-guild .csv files."""
29

310
from __future__ import annotations

scripts/export-members.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# /// script
2+
# requires-python = ">=3.11"
3+
# dependencies = [
4+
# "discord-py>=2.3.1",
5+
# ]
6+
# ///
17
"""Script to export all guild members and their roles to per-guild .csv files."""
28

39
import argparse

0 commit comments

Comments
 (0)