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 5fc5bba
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+17-2Lines changed: 17 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,25 @@
4
4
5
5
-**CI must be green before merging**: do not merge a PR unless all checks pass (including `test` and `parser-reference-guard`).
6
6
-**Explain fixture/golden updates**: if you update any JSON under `tests/data/fortran/` or `tests/parser/fortran/fixtures/`, include a short note in the PR describing why the expected output changed.
7
+
-**Run the QA stack for parser/compiler changes**: install `python -m pip install -e ".[qa]"`, use the workflows in `docs/quality.md`, and update that file when a staged adoption task or scheduled triage item changes.
7
8
8
9
### Parser reference guard
9
10
10
-
This repo includes a CI guard that may require updating `docs/fortran/parser_implementation_reference.md` when parser-related files change.
11
+
This repo includes a CI guard that may require updating parser reference docs
12
+
when parser-related files change.
11
13
12
-
-**Default behavior**: if you change `fortran_parser/` or `tests/data/fortran/`, update `docs/fortran/parser_implementation_reference.md` when the change affects the documented feature inventory or behavior.
14
+
-**C parser changes**: if you change `c_parser/`, `tests/parser/c/`, or
15
+
`tests/data/c/`, update `docs/c_parser.md` when the change affects the
16
+
documented feature inventory, public API, diagnostics, fixtures, semantic
17
+
handoff, or maintenance workflow. The guard also treats
18
+
`tests/parser/test_c_standard_type_probe.py` as C parser related.
19
+
-**Fortran parser changes**: if you change `fortran_parser/`,
20
+
`tests/parser/fortran/`, or `tests/data/fortran/`, update
21
+
`docs/fortran_parser.md` when the change affects the documented feature
22
+
inventory, public API, diagnostics, fixtures, semantic handoff, or
23
+
maintenance workflow. The guard also tracks focused Fortran parser tests
24
+
directly under `tests/parser/`.
25
+
-**Shared parser workflow changes**: if you change shared parser CLI or
26
+
preprocessing behavior, update `docs/c_parser.md` or
-**Bypass (use sparingly)**: add the PR label `ignore-parser-reference-guard` to skip that guard for changes that do not meaningfully affect the reference.
0 commit comments