-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
check return value is not null (#18) #19
Conversation
Sourcery Code Quality Report✅ Merging this PR will increase code quality in the affected files by 0.03%.
Here are some functions in these files that still need a tune-up:
Legend and ExplanationThe emojis denote the absolute quality of the code:
The 👍 and 👎 indicate whether the quality has improved or gotten worse with this pull request. Please see our documentation here for details on how these metrics are calculated. We are actively working on this report - lots more documentation and extra metrics to come! Help us improve this quality report! |
Coverage reportThe coverage rate went from None of the new lines are part of the tested code. Therefore, there is no coverage data about them. |
* create template function app * create skeleton of timescale.py * create tests identify_data_column (& test 100 🎉) * give test_timescale its own DB connection * github actions only allows CAPITAL envvars * Update run_tests.yml * test actual DB connection; add teardown_method * check return value is not null (#18) (#19) * test create_single_timescale_record against db * remove psycopg2 and rely on psycopg3(psycopg) * remove correct psycopg version * 'Refactored by Sourcery' (#16) Co-authored-by: Sourcery AI <> * replace recursive_json_parser with (working) recursively_deserialize * start writing to database * rename measurement_name to measurement_of * get rid of TimescaleConnection because psycopg3 does it * test for timescale_records_from_batch_of_events with mock psycopg and create_single_timescale_record * create_timescale_records_from_batch_of_events checks schema * created Test_create_single_timescale_record_with_mock * enable timeseries_to_timescale * 'Refactored by Sourcery' (#20) Co-authored-by: Sourcery AI <> Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
* create template function app * create skeleton of timescale.py * create tests identify_data_column (& test 100 🎉) * give test_timescale its own DB connection * github actions only allows CAPITAL envvars * Update run_tests.yml * test actual DB connection; add teardown_method * check return value is not null (#18) (#19) * test create_single_timescale_record against db * remove psycopg2 and rely on psycopg3(psycopg) * remove correct psycopg version * 'Refactored by Sourcery' (#16) Co-authored-by: Sourcery AI <> * replace recursive_json_parser with (working) recursively_deserialize * start writing to database * rename measurement_name to measurement_of * get rid of TimescaleConnection because psycopg3 does it * test for timescale_records_from_batch_of_events with mock psycopg and create_single_timescale_record * create_timescale_records_from_batch_of_events checks schema * created Test_create_single_timescale_record_with_mock * enable timeseries_to_timescale * 'Refactored by Sourcery' (#20) Co-authored-by: Sourcery AI <> Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
No description provided.