Skip to content

Commit 2ffd8fe

Browse files
committed
docs(contributing): drop retired invariant + add ty-suppression rule
- Remove 'No import httpx2 outside transports/httpx2.py' — retired in the v0.2 thin-wrapper pivot; transports/ directory no longer exists. Continuing to list this rule misleads contributors. - Add 'Type suppressions use # ty: ignore[<rule>]' — current CI-enforced invariant that was missing from this list.
1 parent a975d12 commit 2ffd8fe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/dev/contributing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ just test # pytest with coverage
3131

3232
These are enforced by CI grep gates. Do not break them in pull requests:
3333

34-
- No `import httpx2` outside `src/httpware/transports/httpx2.py`.
3534
- No `httpx2._*` (private API) usage anywhere in the library.
3635
- No `from __future__ import annotations`.
3736
- No `print()` calls.
3837
- No `logging.basicConfig()` or bare `logging.getLogger()`.
38+
- Type suppressions use `# ty: ignore[<rule>]`, never `# type: ignore` or `# mypy: ignore`.
3939

4040
## Code of Conduct
4141

0 commit comments

Comments
 (0)