Skip to content

Commit b7e51c5

Browse files
fix(docs): remove reference to non-existent error_message_types module
1 parent 9017fe9 commit b7e51c5

2 files changed

Lines changed: 13 additions & 18 deletions

File tree

.github/workflows/lint.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ jobs:
1616
with:
1717
fetch-depth: 0
1818

19-
- name: Get changed files
20-
id: changed-files
21-
uses: tj-actions/changed-files@v47
22-
2319
- name: Set up Python
2420
uses: actions/setup-python@v6
2521
with:
@@ -32,8 +28,17 @@ jobs:
3228
run: |
3329
uv sync --group dev
3430
35-
- name: Run Ruff on changed files
31+
- name: Run Ruff check
32+
run: |
33+
# Ruff automatically reads pyproject.toml configuration
34+
uv run ruff check archipy
35+
36+
- name: Run Ruff format check
37+
run: |
38+
# Ruff automatically reads pyproject.toml configuration
39+
uv run ruff format --check archipy
40+
41+
- name: Run Ty type checking
3642
run: |
37-
# Filter Python files from changed files and run Ruff
38-
echo "${{ steps.changed-files.outputs.all_changed_files }}" | tr ' ' '\n' | grep '\.py$' | xargs -r uv run ruff check --config=pyproject.toml
39-
echo "${{ steps.changed-files.outputs.all_changed_files }}" | tr ' ' '\n' | grep '\.py$' | xargs -r uv run ruff format --check --config=pyproject.toml
43+
# Ty automatically reads pyproject.toml configuration
44+
uv run ty check archipy

docs/api_reference/models.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ class User(BaseEntity):
5858

5959
**Base Types** - Common type definitions
6060
**Email Types** - Email-related type definitions
61-
**Error Message Types** - Error message type definitions
6261
**Language Type** - Language enumeration
6362
**Sort Order Type** - Sort order enumeration
6463
**Time Interval Unit Type** - Time interval unit enumeration
@@ -398,15 +397,6 @@ options:
398397
show_root_heading: true
399398
show_source: true
400399

401-
### Error Message Types
402-
403-
Standardized error message types for consistent error handling.
404-
405-
::: archipy.models.types.error_message_types
406-
options:
407-
show_root_heading: true
408-
show_source: true
409-
410400
### Language Type
411401

412402
Language code type definition.

0 commit comments

Comments
 (0)