Commit 0bcefab
Fix CI: resolve mypy type errors in config.py and server.py
- config.py: Add default empty string to os.getenv calls used with Path()
- server.py: Add Optional[] to threshold, min_val, max_val parameters
- server.py: Add _decay_engine type hint to HebbianMindDatabase.__init__
- server.py: Add Dict type annotation to by_category variable
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 7028dce commit 0bcefab
2 files changed
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
| |||
500 | 501 | | |
501 | 502 | | |
502 | 503 | | |
503 | | - | |
| 504 | + | |
504 | 505 | | |
505 | 506 | | |
506 | 507 | | |
| |||
1124 | 1125 | | |
1125 | 1126 | | |
1126 | 1127 | | |
1127 | | - | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
1128 | 1131 | | |
1129 | 1132 | | |
1130 | 1133 | | |
| |||
1420 | 1423 | | |
1421 | 1424 | | |
1422 | 1425 | | |
1423 | | - | |
| 1426 | + | |
1424 | 1427 | | |
1425 | 1428 | | |
1426 | 1429 | | |
| |||
0 commit comments