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
{{ message }}
Repository navigation
Commit bbd7bf3
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: AGENTS.md
+2-11Lines changed: 2 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,20 +6,11 @@
6
6
```bash
7
7
userscripts/venv/bin/pytest
8
8
```
9
-
- Run only userscript end-to-end tests:
10
-
```bash
11
-
userscripts/venv/bin/pytest userscripts/
12
-
```
13
9
- Run only Python tests:
14
10
```bash
15
11
userscripts/venv/bin/pytest python/
16
12
```
17
-
-Verify userscript JavaScript syntax before committing:
13
+
-Run only Userscript tests:
18
14
```bash
19
-
node --check userscripts/<project>/<name>.user.js
15
+
userscripts/venv/bin/pytest userscripts/
20
16
```
21
-
22
-
## Versioning & Git Commits
23
-
24
-
- Do not manually increment userscript patch `@version` headers for routine changes; the `.git/hooks/pre-commit` hook (`userscripts/bump_version_precommit.py`) automatically increments patch numbers on staged `*.user.js` files and synchronizes adjacent `README.md` install links.
25
-
- When committing changes touching userscripts, ensure write access is permitted for pre-commit hook execution.
- Run userscript end-to-end browser tests using the shared virtualenv:
6
+
```bash
7
+
userscripts/venv/bin/pytest userscripts/
8
+
```
9
+
- Verify JavaScript syntax before committing:
10
+
```bash
11
+
node --check userscripts/<project>/<name>.user.js
12
+
```
13
+
14
+
## Versioning & Git Commits
15
+
16
+
- Do not manually increment userscript patch `@version` headers for routine changes; the `.git/hooks/pre-commit` hook (`userscripts/bump_version_precommit.py`) automatically increments patch numbers on staged `*.user.js` files and synchronizes adjacent `README.md` install links.
17
+
- When committing changes touching userscripts, ensure write access is permitted for pre-commit hook execution.
0 commit comments