Run ruff format changes and finalize indentation and lint fixes.
This commit is contained in:
@@ -33,7 +33,7 @@ make shell
|
||||
source .venv/bin/activate
|
||||
|
||||
# Using uv run (recommended)
|
||||
uv run python src/main.py
|
||||
uv run python -m thechart
|
||||
```
|
||||
|
||||
## Testing Framework
|
||||
@@ -266,7 +266,7 @@ Application logs are stored in `logs/` directory:
|
||||
- **`app.warning.log`**: Warning messages only
|
||||
|
||||
### Debug Mode
|
||||
Enable debug logging by modifying `src/logger.py` configuration.
|
||||
Enable debug logging via environment or edit `thechart.core.constants` and use `thechart.core.logger`.
|
||||
|
||||
### Common Issues
|
||||
|
||||
|
||||
@@ -45,19 +45,19 @@ The export functionality is accessible through:
|
||||
|
||||
The export system consists of three main components:
|
||||
|
||||
#### ExportManager Class (`src/export_manager.py`)
|
||||
#### ExportManager Class (`thechart.export.export_manager`)
|
||||
- Core export functionality
|
||||
- Handles data transformation and file generation
|
||||
- Integrates with existing data and graph managers
|
||||
- Supports all three export formats
|
||||
|
||||
#### ExportWindow Class (`src/export_window.py`)
|
||||
#### ExportWindow Class (`thechart.ui.export_window`)
|
||||
- GUI interface for export operations
|
||||
- Modal dialog with export options
|
||||
- File save dialog integration
|
||||
- Progress feedback and error handling
|
||||
|
||||
#### Integration in MedTrackerApp (`src/main.py`)
|
||||
#### Integration in MedTrackerApp (`python -m thechart` entry)
|
||||
- Export manager initialization
|
||||
- Menu integration
|
||||
- Seamless integration with existing managers
|
||||
@@ -168,9 +168,9 @@ Exported test files are created in the `test_exports/` directory:
|
||||
|
||||
## File Locations
|
||||
|
||||
### Source Files
|
||||
- `src/export_manager.py` - Core export functionality
|
||||
- `src/export_window.py` - GUI export interface
|
||||
### Source Modules
|
||||
- `thechart.export.export_manager` - Core export functionality
|
||||
- `thechart.ui.export_window` - GUI export interface
|
||||
|
||||
### Test Files
|
||||
- `simple_export_test.py` - Basic export functionality test
|
||||
|
||||
Reference in New Issue
Block a user