style: Apply formatting to infrastructure.md and test_validators.py
- Fix markdown table alignment in infrastructure.md - Sort imports alphabetically in test_validators.py (auto-formatted)
This commit is contained in:
parent
c00224467f
commit
014e22390e
@ -171,16 +171,16 @@ Provides data validation functions for ensuring data integrity across the applic
|
|||||||
|
|
||||||
### Other Validators
|
### Other Validators
|
||||||
|
|
||||||
| Function | Purpose |
|
| Function | Purpose |
|
||||||
| --------------------------- | ------------------------------------------- |
|
| --------------------------- | ------------------------------------------ |
|
||||||
| `validate_series_name` | Series display name validation |
|
| `validate_series_name` | Series display name validation |
|
||||||
| `validate_episode_range` | Episode range validation (1-1000) |
|
| `validate_episode_range` | Episode range validation (1-1000) |
|
||||||
| `validate_download_quality` | Quality setting (360p-1080p, best, worst) |
|
| `validate_download_quality` | Quality setting (360p-1080p, best, worst) |
|
||||||
| `validate_language` | Language codes (ger-sub, ger-dub, etc.) |
|
| `validate_language` | Language codes (ger-sub, ger-dub, etc.) |
|
||||||
| `validate_anime_url` | Aniworld.to/s.to URL validation |
|
| `validate_anime_url` | Aniworld.to/s.to URL validation |
|
||||||
| `validate_backup_name` | Backup filename validation |
|
| `validate_backup_name` | Backup filename validation |
|
||||||
| `validate_config_data` | Configuration data structure validation |
|
| `validate_config_data` | Configuration data structure validation |
|
||||||
| `sanitize_filename` | Sanitize filenames for safe filesystem use |
|
| `sanitize_filename` | Sanitize filenames for safe filesystem use |
|
||||||
|
|
||||||
## Frontend
|
## Frontend
|
||||||
|
|
||||||
|
|||||||
@ -8,19 +8,19 @@ import pytest
|
|||||||
|
|
||||||
from src.server.utils.validators import (
|
from src.server.utils.validators import (
|
||||||
ValidatorMixin,
|
ValidatorMixin,
|
||||||
validate_series_key,
|
sanitize_filename,
|
||||||
validate_series_key_or_folder,
|
|
||||||
validate_series_name,
|
|
||||||
validate_episode_range,
|
|
||||||
validate_download_quality,
|
|
||||||
validate_language,
|
|
||||||
validate_download_priority,
|
|
||||||
validate_anime_url,
|
validate_anime_url,
|
||||||
validate_backup_name,
|
validate_backup_name,
|
||||||
validate_config_data,
|
validate_config_data,
|
||||||
sanitize_filename,
|
validate_download_priority,
|
||||||
validate_jwt_token,
|
validate_download_quality,
|
||||||
|
validate_episode_range,
|
||||||
validate_ip_address,
|
validate_ip_address,
|
||||||
|
validate_jwt_token,
|
||||||
|
validate_language,
|
||||||
|
validate_series_key,
|
||||||
|
validate_series_key_or_folder,
|
||||||
|
validate_series_name,
|
||||||
validate_websocket_message,
|
validate_websocket_message,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user