Skip to content

Commit 98355bb

Browse files
committed
Update AGENTS.md
1 parent 012c5e7 commit 98355bb

1 file changed

Lines changed: 15 additions & 4 deletions

File tree

AGENTS.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,27 @@
55

66
# Testing
77

8-
- pytest works but to run the whole suite run music21/test/multiprocessTest.py (or testSingleCoreAll.py if on a single core machine.)
9-
- Run `uv run mypy music21` before making PRs or pushes to open PRs
10-
- All PRs need to be declared AI-assisted.
11-
- 10 or more lines of code written by an agent needs to be declared as AI-assisted in the docstring. Humans can remove and should remove this note when they do a review.
8+
- pytest works but to run the whole suite run music21/test/multiprocessTest.py (or testSingleCoreAll.py
9+
if on a single core machine.)
10+
- Run `uv run ruff check music21` before making PRs or pushes to open PRs.
11+
- Run `uv run mypy music21` before making PRs or pushes to open PRs.
1212

1313
# Setup
1414

1515
- `uv sync` installs runtime deps + the `dev` group, which self-references `music21[extras]`,
1616
so scipy and python-Levenshtein come along automatically. Tests will not pass without them.
1717

18+
# PRs and Issues
19+
20+
- All PRs and Issues need to be declared AI-assisted.
21+
- 10 or more lines of code written by an agent needs to be declared as AI-assisted in the docstring.
22+
Humans can remove and should remove this note when they do a review.
23+
- If no code was written by a user, any PR
24+
must declare "entirely AI written". If it does not pass the tests it will be closed (or should be closed
25+
by the agent or author). Failure to do so may result in the user being banned from the project.
26+
- Agents must follow the [Code of Conduct](CODE_OF_CONDUCT.md). Agents that do not will be banned as well at their users.
27+
Not even the slightest bit of disrespect from an AI agent will be tolerated.
28+
1829
# Worktrees
1930

2031
- When creating a new worktree, create a new virtual environment with `uv sync`.

0 commit comments

Comments
 (0)