File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 :
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
Original file line number Diff line number Diff 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:
398397show_root_heading: true
399398show_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
412402Language code type definition.
You can’t perform that action at this time.
0 commit comments