replace print statements with logger #1688

Closed
navjotcis wants to merge 2 commits from bug-fixes14 into v0.6
navjotcis commented 2020-11-12 18:13:39 +01:00 (Migrated from github.com)

I have replaced print statement with logger for below given module
network/randomtrackingdict.py
singleinstance.py

I have replaced print statement with logger for below given module `network/randomtrackingdict.py` `singleinstance.py`
PeterSurda (Migrated from github.com) requested changes 2020-11-16 09:10:35 +01:00
PeterSurda (Migrated from github.com) left a comment
  • the test in randomtrackingdict should be refactored as a unit test
  • remove singleinstnace from PR
  • filesystem is OK
- the test in randomtrackingdict should be refactored as a unit test - remove singleinstnace from PR - filesystem is OK
PeterSurda (Migrated from github.com) requested changes 2020-11-16 22:03:34 +01:00
PeterSurda (Migrated from github.com) left a comment

Move tests into unit tests.

Move tests into unit tests.
PeterSurda commented 2020-11-21 11:12:36 +01:00 (Migrated from github.com)
  • remove main section from randomtrackingdict.py
  • fix errors reported by travis
- remove main section from `randomtrackingdict.py` - fix errors reported by travis
PeterSurda (Migrated from github.com) requested changes 2020-12-19 20:01:36 +01:00
PeterSurda (Migrated from github.com) left a comment

Please do the requested changes and fix code quality.

Please do the requested changes and fix code quality.
PeterSurda (Migrated from github.com) commented 2020-12-19 19:55:09 +01:00

If I remember right, this should be replaced with a test failure.

If I remember right, this should be replaced with a test failure.
PeterSurda (Migrated from github.com) commented 2020-12-19 19:55:50 +01:00

I think this should also be replaced with a test failure.

I think this should also be replaced with a test failure.
PeterSurda (Migrated from github.com) commented 2020-12-19 20:00:50 +01:00

This is debugging information. We should check if this is not too slow. Let's say all values of a[x + 1] - a[x] need to be less than 10.0.

This is debugging information. We should check if this is not too slow. Let's say all values of `a[x + 1] - a[x]` need to be less than `10.0`.
PeterSurda commented 2020-12-19 20:05:15 +01:00 (Migrated from github.com)

Also you can't write "Fixes #xxxxx" unless it's a complete fix, that screws up the dependency tracking.

Also you can't write "Fixes #xxxxx" unless it's a complete fix, that screws up the dependency tracking.
navjotcis commented 2020-12-22 08:38:22 +01:00 (Migrated from github.com)

I have made the suggested changes not it is ready to merge.

I have made the suggested changes not it is ready to merge.
PeterSurda (Migrated from github.com) requested changes 2020-12-22 09:10:59 +01:00
PeterSurda (Migrated from github.com) left a comment

Please fix import.

Please fix import.
PeterSurda (Migrated from github.com) commented 2020-12-22 09:10:02 +01:00

"""Test performance of RandomTrackingDict"""

`"""Test performance of RandomTrackingDict"""`
PeterSurda (Migrated from github.com) commented 2020-12-22 09:10:41 +01:00

Maybe this needs to be 10.0, I'm not fully sure, we'll see once the import is fixed.

Maybe this needs to be `10.0`, I'm not fully sure, we'll see once the import is fixed.
PeterSurda (Migrated from github.com) requested changes 2020-12-25 09:22:35 +01:00
PeterSurda (Migrated from github.com) left a comment

fix

fix
PeterSurda (Migrated from github.com) commented 2020-12-25 09:22:25 +01:00

why dot at the beginning?

why dot at the beginning?
navjotcis (Migrated from github.com) reviewed 2020-12-25 16:15:00 +01:00
navjotcis (Migrated from github.com) commented 2020-12-25 16:15:00 +01:00

checking with every possible way

checking with every possible way
This repo is archived. You cannot comment on pull requests.
No description provided.