You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AGENTS.md
+15-4Lines changed: 15 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,16 +5,27 @@
5
5
6
6
# Testing
7
7
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.
12
12
13
13
# Setup
14
14
15
15
-`uv sync` installs runtime deps + the `dev` group, which self-references `music21[extras]`,
16
16
so scipy and python-Levenshtein come along automatically. Tests will not pass without them.
17
17
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
+
18
29
# Worktrees
19
30
20
31
- When creating a new worktree, create a new virtual environment with `uv sync`.
0 commit comments