Skip to content
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

Flake8 errors #350

Closed
rly opened this issue May 15, 2020 · 0 comments · Fixed by #346
Closed

Flake8 errors #350

rly opened this issue May 15, 2020 · 0 comments · Fixed by #346
Assignees
Labels
category: bug errors in the code or code behavior

Comments

@rly
Copy link
Contributor

rly commented May 15, 2020

flake8==3.8.1 catches a few new flake8 errors that are making CI tests fail:

.\src\hdmf\container.py:342:26: E741 ambiguous variable name 'l'
.\src\hdmf\backends\hdf5\h5tools.py:790:5: C901 'HDF5IO.write_dataset' is too complex (31)
.\src\hdmf\backends\hdf5\h5tools.py:1182:29: E741 ambiguous variable name 'l'
.\src\hdmf\backends\hdf5\h5_utils.py:392:69: E225 missing whitespace around operator
.\src\hdmf\build\builders.py:206:13: E741 ambiguous variable name 'l'
.\src\hdmf\common\table.py:201:5: C901 'DynamicTable.__init__' is too complex (32)
.\src\hdmf\common\table.py:558:23: F507 '...' % ... has 1 placeholder(s) but 2 substitution(s)
.\src\hdmf\validate\validator.py:402:5: C901 'GroupValidator.validate' is too complex (21)
.\tests\coloredtestrunner.py:94:26: E741 ambiguous variable name 'l'
.\tests\unit\test_io_hdf5.py:24:17: E722 do not use bare 'except'
.\tests\unit\spec_tests\test_spec_write.py:54:1: E122 continuation line missing indentation or outdented
.\tests\unit\spec_tests\test_spec_write.py:71:1: E122 continuation line missing indentation or outdented
.\tests\unit\spec_tests\test_spec_write.py:200:1: E122 continuation line missing indentation or outdented
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: bug errors in the code or code behavior
Projects
None yet
1 participant