Skip to content

Commit

Permalink
refactor: ♻️ Migrating initial Indicator to use existing `Subscript…
Browse files Browse the repository at this point in the history
…ionFeed` model
  • Loading branch information
awhipp committed May 2, 2024
1 parent 80e5dcf commit cab8382
Show file tree
Hide file tree
Showing 9 changed files with 340 additions and 242 deletions.
2 changes: 2 additions & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[MESSAGES CONTROL]
disable=logging-fstring-interpolation
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,10 @@ python interface_service/app.py
### Run Tests

```bash
# Run Pytest (without coverage output)
python -m pytest --disable-warnings -xv
# Run Pytest (with coverage output)
pytest --disable-warnings -xv --cov=. --cov-report=xml
```

## End State Architecture
Expand Down
Loading

1 comment on commit cab8382

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Coverage

Code Coverage
FileStmtsMissCoverMissing
foresight
   __init__.py00100% 
foresight/indicator_services
   __init__.py00100% 
   indicator.py70700%3–6, 8–12, 14–15, 18, 21, 24–29, 31, 38–39, 41–44, 46–47, 49, 51–53, 55, 57, 59, 61, 68, 70, 72, 74–75, 79, 83–84, 88–90, 94, 96, 98, 100, 103, 115, 118–119, 125, 127, 131, 134, 137, 139, 141, 143–145, 147–148, 150, 152, 154
   moving_average_indicator.py18180%3, 5–6, 9, 12, 20–21, 28, 30, 33–34, 36–37, 40, 42, 45–46, 51
foresight/interface_service
   __init__.py00100% 
   app.py31310%3–4, 6–9, 11–12, 15, 18, 20, 23, 25, 33–34, 36, 39–40, 42, 45–46, 48–51, 53–54, 56, 59–61
foresight/stream_service
   __init__.py00100% 
   app.py711381%82, 110, 131, 133–134, 139, 142–148
foresight/stream_service/models
   __init__.py00100% 
   pricing.py40100% 
   stream.py180100% 
foresight/utils
   __init__.py00100% 
   aws.py12558%14, 33, 35–36, 43
   database.py551180%52–53, 70–71, 76, 91–92, 94, 98–100
   exceptions.py110%5
   logger.py90100% 
foresight/utils/models
   __init__.py00100% 
   forex_data.py61296%164–165
   subscription_feed.py25292%98–99
foresight/window_service
   __init__.py00100% 
   app.py351071%20, 25–27, 70–71, 75, 77–78, 80
tests
   conftest.py240100% 
tests/stream_service
   conftest.py19952%21–22, 30, 33, 37–41
   stream_service_test.py410100% 
tests/utils/models
   forex_data_test.py610100% 
   subscription_feeds_test.py460100% 
tests/window_service
   window_service_test.py370100% 
TOTAL63817273% 

Please sign in to comment.