-
Notifications
You must be signed in to change notification settings - Fork 4
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
python-deps(deps-dev): update pyright requirement from 1.1.383 to 1.1.384 in the python-dependencies group #53
Conversation
Updates the requirements on [pyright](https://github.com/RobertCraigie/pyright-python) to permit the latest version. Updates `pyright` to 1.1.384 - [Release notes](https://github.com/RobertCraigie/pyright-python/releases) - [Commits](RobertCraigie/pyright-python@v1.1.383...v1.1.384) --- updated-dependencies: - dependency-name: pyright dependency-type: direct:development dependency-group: python-dependencies ... Signed-off-by: dependabot[bot] <support@github.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #53 +/- ##
=======================================
Coverage 90.59% 90.59%
=======================================
Files 28 28
Lines 1797 1797
Branches 274 274
=======================================
Hits 1628 1628
Misses 106 106
Partials 63 63 ☔ View full report in Codecov by Sentry. |
Blocked by PyCQA/docformatter#293 |
Test Results (windows)
tests\test_tm_data_types.pytmp_path = WindowsPath('C:/Users/runneradmin/AppData/Local/Temp/pytest-of-unknown/pytest-0/test_parallel0')
def test_parallel(tmp_path: Path) -> None:
"""Check to make sure that a parallel write can write a waveform and read the same waveform."""
waveform_info = {}
file_count = 10
for index in range(file_count):
waveform_path = tmp_path / f"test_parallel_{index}.wfm"
waveform_data = np.array([index * locale for locale in range(10)], np.int16)
waveform = AnalogWaveform()
waveform.y_axis_values = waveform_data
waveform.meta_info = AnalogWaveformMetaInfo(
y_offset=0.0,
y_position=0.0,
)
waveform_info[waveform_path.as_posix()] = waveform
write_files_in_parallel(list(waveform_info.keys()), list(waveform_info.values()))
if read_info := read_files_in_parallel(list(waveform_info.keys())):
for file_path, waveform in read_info:
> assert np.array_equal(waveform.y_axis_values, waveform_info[file_path].y_axis_values)
E assert False
E + where False = <function array_equal at 0x0000026CF7C447F0>(RawSample([], dtype=int16), RawSample([ 0, 3, 6, 9, 12, 15, 18, 21, 24, 27], dtype=int16))
E + where <function array_equal at 0x0000026CF7C447F0> = np.array_equal
E + and RawSample([], dtype=int16) = <tm_data_types.datum.waveforms.analog_waveform.AnalogWaveform object at 0x0000026C885A0350>.y_axis_values
E + and RawSample([ 0, 3, 6, 9, 12, 15, 18, 21, 24, 27], dtype=int16) = <tm_data_types.datum.waveforms.analog_waveform.AnalogWaveform object at 0x0000026C8855D1F0>.y_axis_values
file_count = 10
file_path = 'C:/Users/runneradmin/AppData/Local/Temp/pytest-of-unknown/pytest-0/test_parallel0/test_parallel_3.wfm'
index = 9
read_info = [('C:/Users/runneradmin/AppData/Local/Temp/pytest-of-unknown/pytest-0/test_parallel0/test_parallel_9.wfm',
<tm_data_types.datum.waveforms.analog_waveform.AnalogWaveform object at 0x0000026C885A02C0>),
('C:/Users/runneradmin/AppData/Local/Temp/pytest-of-unknown/pytest-0/test_parallel0/test_parallel_3.wfm',
<tm_data_types.datum.waveforms.analog_waveform.AnalogWaveform object at 0x0000026C885A0350>),
('C:/Users/runneradmin/AppData/Local/Temp/pytest-of-unknown/pytest-0/test_parallel0/test_parallel_0.wfm',
<tm_data_types.datum.waveforms.analog_waveform.AnalogWaveform object at 0x0000026CFF860560>)]
tmp_path = WindowsPath('C:/Users/runneradmin/AppData/Local/Temp/pytest-of-unknown/pytest-0/test_parallel0')
waveform = <tm_data_types.datum.waveforms.analog_waveform.AnalogWaveform object at 0x0000026C885A0350>
waveform_data = array([ 0, 9, 18, 27, 36, 45, 54, 63, 72, 81], dtype=int16)
waveform_info = {'C:/Users/runneradmin/AppData/Local/Temp/pytest-of-unknown/pytest-0/test_parallel0/test_parallel_0.wfm': <tm_data_types.datum.waveforms.analog_waveform.AnalogWaveform object at 0x0000026C8855C170>,
'C:/Users/runneradmin/AppData/Local/Temp/pytest-of-unknown/pytest-0/test_parallel0/test_parallel_1.wfm': <tm_data_types.datum.waveforms.analog_waveform.AnalogWaveform object at 0x0000026C8855CCE0>,
'C:/Users/runneradmin/AppData/Local/Temp/pytest-of-unknown/pytest-0/test_parallel0/test_parallel_2.wfm': <tm_data_types.datum.waveforms.analog_waveform.AnalogWaveform object at 0x0000026C8855CFB0>,
'C:/Users/runneradmin/AppData/Local/Temp/pytest-of-unknown/pytest-0/test_parallel0/test_parallel_3.wfm': <tm_data_types.datum.waveforms.analog_waveform.AnalogWaveform object at 0x0000026C8855D1F0>,
'C:/Users/runneradmin/AppData/Local/Temp/pytest-of-unknown/pytest-0/test_parallel0/test_parallel_4.wfm': <tm_data_types.datum.waveforms.analog_waveform.AnalogWaveform object at 0x0000026C8855D430>,
'C:/Users/runneradmin/AppData/Local/Temp/pytest-of-unknown/pytest-0/test_parallel0/test_parallel_5.wfm': <tm_data_types.datum.waveforms.analog_waveform.AnalogWaveform object at 0x0000026C8855D670>,
'C:/Users/runneradmin/AppData/Local/Temp/pytest-of-unknown/pytest-0/test_parallel0/test_parallel_6.wfm': <tm_data_types.datum.waveforms.analog_waveform.AnalogWaveform object at 0x0000026C8855D8B0>,
'C:/Users/runneradmin/AppData/Local/Temp/pytest-of-unknown/pytest-0/test_parallel0/test_parallel_7.wfm': <tm_data_types.datum.waveforms.analog_waveform.AnalogWaveform object at 0x0000026CFFE0C830>,
'C:/Users/runneradmin/AppData/Local/Temp/pytest-of-unknown/pytest-0/test_parallel0/test_parallel_8.wfm': <tm_data_types.datum.waveforms.analog_waveform.AnalogWaveform object at 0x0000026CFE7240B0>,
'C:/Users/runneradmin/AppData/Local/Temp/pytest-of-unknown/pytest-0/test_parallel0/test_parallel_9.wfm': <tm_data_types.datum.waveforms.analog_waveform.AnalogWaveform object at 0x0000026C881FC200>}
waveform_path = WindowsPath('C:/Users/runneradmin/AppData/Local/Temp/pytest-of-unknown/pytest-0/test_parallel0/test_parallel_9.wfm')
tests\test_tm_data_types.py:92: AssertionError |
Test Results (ubuntu)
|
Test Results (macos)
|
This pull request was built based on a group rule. Closing it will not ignore any of these versions in future pull requests. To ignore these dependencies, configure ignore rules in dependabot.yml |
Updates the requirements on pyright to permit the latest version.
Updates
pyright
to 1.1.384Commits
5d9f60e
[pyright updated to 1.1.384] Update Version (#313)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major version
will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor version
will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>
will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>
will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>
will remove the ignore condition of the specified dependency and ignore conditions