Data Engine #413
22 errors
Flake8 found 22 errors
Annotations
Check failure on line 19 in dagshub/common/api/repo.py
github-actions / Flake8
dagshub/common/api/repo.py#L19
'urllib.parse.urljoin' imported but unused (F401)
Check failure on line 19 in dagshub/common/api/repo.py
github-actions / Flake8
dagshub/common/api/repo.py#L19
'urllib.parse.quote' imported but unused (F401)
Check failure on line 150 in dagshub/common/api/repo.py
github-actions / Flake8
dagshub/common/api/repo.py#L150
Multiple statements on one line (colon) (E701)
Check failure on line 3 in dagshub/data_engine/annotation/voxel_conversion.py
github-actions / Flake8
dagshub/data_engine/annotation/voxel_conversion.py#L3
'pathlib.Path' imported but unused (F401)
Check failure on line 46 in dagshub/data_engine/annotation/voxel_conversion.py
github-actions / Flake8
dagshub/data_engine/annotation/voxel_conversion.py#L46
Do not use bare 'except' (E722)
Check failure on line 14 in dagshub/data_engine/model/errors.py
github-actions / Flake8
dagshub/data_engine/model/errors.py#L14
F-string is missing placeholders (F541)
Check failure on line 83 in dagshub/data_engine/model/query.py
github-actions / Flake8
dagshub/data_engine/model/query.py#L83
F-string is missing placeholders (F541)
Check failure on line 115 in dagshub/data_engine/model/datasource.py
github-actions / Flake8
dagshub/data_engine/model/datasource.py#L115
Visually indented line with same indent as next logical line (E129)
Check failure on line 237 in dagshub/data_engine/model/datasource.py
github-actions / Flake8
dagshub/data_engine/model/datasource.py#L237
Line too long (121 > 120 characters) (E501)
Check failure on line 218 in dagshub/data_engine/model/query_result.py
github-actions / Flake8
dagshub/data_engine/model/query_result.py#L218
Import 'field' from line 4 shadowed by loop variable (F402)
Check failure on line 2 in dagshub/data_engine/voxel_plugin_server/routes/voxel.py
github-actions / Flake8
dagshub/data_engine/voxel_plugin_server/routes/voxel.py#L2
'typing.Dict' imported but unused (F401)
Check failure on line 18 in dagshub/data_engine/voxel_plugin_server/routes/util.py
github-actions / Flake8
dagshub/data_engine/voxel_plugin_server/routes/util.py#L18
Do not use bare 'except' (E722)
Check failure on line 106 in dagshub/data_engine/client/loaders/base.py
github-actions / Flake8
dagshub/data_engine/client/loaders/base.py#L106
Line too long (129 > 120 characters) (E501)
Check failure on line 144 in dagshub/data_engine/client/loaders/base.py
github-actions / Flake8
dagshub/data_engine/client/loaders/base.py#L144
Too many leading '#' for block comment (E266)
Check failure on line 157 in dagshub/data_engine/client/loaders/base.py
github-actions / Flake8
dagshub/data_engine/client/loaders/base.py#L157
Line too long (161 > 120 characters) (E501)
Check failure on line 163 in dagshub/data_engine/client/loaders/base.py
github-actions / Flake8
dagshub/data_engine/client/loaders/base.py#L163
Line too long (247 > 120 characters) (E501)
Check failure on line 179 in dagshub/data_engine/client/loaders/base.py
github-actions / Flake8
dagshub/data_engine/client/loaders/base.py#L179
Line too long (123 > 120 characters) (E501)
Check failure on line 2 in tests/data_engine/test_datasource_state.py
github-actions / Flake8
tests/data_engine/test_datasource_state.py#L2
'dagshub.data_engine.model.datasource_state.path_regexes' imported but unused (F401)
Check failure on line 50 in tests/data_engine/test_querying.py
github-actions / Flake8
tests/data_engine/test_querying.py#L50
Closing bracket does not match indentation of opening bracket's line (E123)
Check failure on line 118 in tests/data_engine/test_querying.py
github-actions / Flake8
tests/data_engine/test_querying.py#L118
Closing bracket does not match indentation of opening bracket's line (E123)
Check failure on line 171 in tests/data_engine/test_querying.py
github-actions / Flake8
tests/data_engine/test_querying.py#L171
Closing bracket does not match indentation of opening bracket's line (E123)
Check failure on line 366 in tests/data_engine/test_querying.py
github-actions / Flake8
tests/data_engine/test_querying.py#L366
Comparison to False should be 'if cond is False:' or 'if not cond:' (E712)