diff --git a/docs/project_docs/code-analysis/kpi_fitness-tracker.md b/docs/project_docs/code-analysis/kpi_fitness-tracker.md deleted file mode 100644 index e90d00a0..00000000 --- a/docs/project_docs/code-analysis/kpi_fitness-tracker.md +++ /dev/null @@ -1,64 +0,0 @@ -# KPI - -logging timestamp: -2024-09-21 16:51:40.076650 - -| Python scripts | total code lines | total PEP-8 violations | -| --- | --- | --- | -| 53| 3972 | 457 | - -| Module name | lines | PEP-8 Violations | -| --- | --- | --- | -| `src/model/model.py ` | 233 | 12 | -| `src/combined_metrics/combined_metrics.py` | 225 | 30 | -| `src/simulations/workout_simulator.py ` | 220 | 26 | -| `src/CRUD/insert.py ` | 185 | 22 | -| `src/plot.py ` | 172 | 8 | -| `src/helpers/validate.py ` | 170 | 16 | -| `src/CRUD/read.py ` | 163 | 13 | -| `src/model/plot_model.py ` | 160 | 22 | -| `src/one_rep_max_calc.py ` | 120 | 17 | -| `src/CRUD/update.py ` | 115 | 12 | -| `src/one_rep_max_plot.py ` | 112 | 17 | -| `src/helpers/get_breath_holding.py ` | 112 | 16 | -| `src/helpers/set_db_and_table.py ` | 112 | 4 | -| `src/simulations/simulate_data.py ` | 107 | 11 | -| `src/helpers/get_workout_duration.py ` | 106 | 6 | -| `test/test_model.py ` | 89 | 11 | -| `src/helpers/analyze_stats.py ` | 86 | 6 | -| `src/main.py ` | 82 | 9 | -| `src/helpers/google_sheet.py ` | 79 | 5 | -| `src/helpers/json_to_csv.py ` | 73 | 5 | -| `test/test_json_to_csv.py ` | 70 | 27 | -| `docs/sphinx-docs/source/conf.py ` | 69 | 6 | -| `src/helpers/get_volume.py ` | 67 | 6 | -| `test/test_google_sheet.py ` | 66 | 6 | -| `src/helpers/get_program.py ` | 65 | 4 | -| `test/test_simulate_data.py ` | 59 | 14 | -| `test/test_simulation.py ` | 54 | 15 | -| `test/test_insert.py ` | 51 | 5 | -| `test/test_update.py ` | 47 | 6 | -| `test/test_validate.py ` | 47 | 3 | -| `src/helpers/cleanup.py ` | 47 | 5 | -| `src/combined_metrics/get_frequency_data.py` | 46 | 4 | -| `src/helpers/lookup.py ` | 46 | 5 | -| `src/helpers/get_exercises.py ` | 44 | 4 | -| `src/helpers/get_year_and_week.py ` | 42 | 4 | -| `src/simulations/simulate_athletes.py ` | 42 | 5 | -| `features/steps/lookup.py ` | 38 | 6 | -| `src/helpers/custom_storage.py ` | 38 | 7 | -| `test/test_training.py ` | 37 | 6 | -| `src/helpers/json_to_yaml.py ` | 32 | 6 | -| `features/steps/get_program.py ` | 31 | 5 | -| `features/steps/validate.py ` | 31 | 6 | -| `features/steps/model.py ` | 29 | 6 | -| `src/helpers/get_bodyweight.py ` | 28 | 5 | -| `test/test_get_exercises.py ` | 25 | 2 | -| `test/conftest.py ` | 18 | 5 | -| `test/test_get_year_and_week.py ` | 18 | 2 | -| `src/one_rep_max.py ` | 17 | 3 | -| `src/helpers/get_tz.py ` | 16 | 3 | -| `test/test_get_workout_duration.py ` | 9 | 2 | -| `src/helpers/get_split.py ` | 9 | 2 | -| `test/test_get_program.py ` | 7 | 2 | -| `test/test_lookup.py ` | 6 | 2 | diff --git a/src/main.py b/src/main.py index 02825c1f..f77b132e 100644 --- a/src/main.py +++ b/src/main.py @@ -34,6 +34,10 @@ async def main_page() -> Response: return Response("Hello, athlete. Welcome to your tracker!") +def greet(name: str) -> None: + ... + + @app.get("/data") async def get_data(): """Show data"""