Skip to content

Merge Dev into Main July 10 2024 #69

Merge Dev into Main July 10 2024

Merge Dev into Main July 10 2024 #69

Triggered via pull request July 10, 2024 20:51
@maxachismaxachis
opened #50
dev
Status Failure
Total duration 30s
Artifacts

bandit.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

25 errors and 730 warnings
[flake8] database_client/database_client.py#L270 <721>: database_client/database_client.py#L270
do not compare types, for exact checks use `is` / `is not`, for instance checks use `isinstance()`
[flake8] middleware/agencies.py#L8 <302>: middleware/agencies.py#L8
expected 2 blank lines, found 1
[flake8] tests/fixtures.py#L122 <302>: tests/fixtures.py#L122
expected 2 blank lines, found 1
[flake8] tests/helper_functions.py#L64 <302>: tests/helper_functions.py#L64
expected 2 blank lines, found 1
bandit
Process completed with exit code 1.
[flake8] conftest.py#L1 <100>: conftest.py#L1
Missing docstring in public module
[flake8] conftest.py#L1 <401>: conftest.py#L1
'os' imported but unused
[flake8] conftest.py#L17 <103>: conftest.py#L17
Missing docstring in public function
[flake8] conftest.py#L32 <103>: conftest.py#L32
Missing docstring in public function
[flake8] database_client/constants.py#L1 <100>: database_client/constants.py#L1
Missing docstring in public module
[flake8] database_client/database_client.py#L3 <401>: database_client/database_client.py#L3
'contextlib.contextmanager' imported but unused
[flake8] database_client/database_client.py#L9 <401>: database_client/database_client.py#L9
'psycopg2.extras.DictCursor' imported but unused
[flake8] database_client/database_client.py#L12 <401>: database_client/database_client.py#L12
'middleware.custom_exceptions.TokenNotFoundError' imported but unused
[flake8] database_client/database_client.py#L81 <205>: database_client/database_client.py#L81
1 blank line required between summary line and description
[flake8] database_client/database_client.py#L93 <205>: database_client/database_client.py#L93
1 blank line required between summary line and description
[flake8] database_client/database_client.py#L104 <205>: database_client/database_client.py#L104
1 blank line required between summary line and description
[flake8] database_client/database_client.py#L176 <205>: database_client/database_client.py#L176
1 blank line required between summary line and description
[flake8] database_client/database_client.py#L206 <205>: database_client/database_client.py#L206
1 blank line required between summary line and description
[flake8] database_client/database_client.py#L217 <205>: database_client/database_client.py#L217
1 blank line required between summary line and description
[flake8] database_client/database_client.py#L232 <202>: database_client/database_client.py#L232
No blank lines allowed after function docstring
[flake8] database_client/database_client.py#L400 <205>: database_client/database_client.py#L400
1 blank line required between summary line and description
[flake8] database_client/dynamic_query_constructor.py#L16 <205>: database_client/dynamic_query_constructor.py#L16
1 blank line required between summary line and description
[flake8] database_client/result_formatter.py#L13 <205>: database_client/result_formatter.py#L13
1 blank line required between summary line and description
[flake8] database_client/result_formatter.py#L22 <205>: database_client/result_formatter.py#L22
1 blank line required between summary line and description
[flake8] middleware/agencies.py#L1 <100>: middleware/agencies.py#L1
Missing docstring in public module
[flake8] middleware/agencies.py#L9 <401>: middleware/agencies.py#L9
First line should be in imperative mood
[flake8] middleware/agencies.py#L22 <205>: middleware/agencies.py#L22
1 blank line required between summary line and description
[flake8] middleware/agencies.py#L22 <401>: middleware/agencies.py#L22
First line should be in imperative mood
[flake8] middleware/agencies.py#L35 <205>: middleware/agencies.py#L35
1 blank line required between summary line and description
[flake8] middleware/agencies.py#L35 <401>: middleware/agencies.py#L35
First line should be in imperative mood
[flake8] middleware/login_queries.py#L1 <100>: middleware/login_queries.py#L1
Missing docstring in public module
[flake8] middleware/login_queries.py#L3 <401>: middleware/login_queries.py#L3
'datetime.datetime as dt' imported but unused
[flake8] middleware/login_queries.py#L16 <401>: middleware/login_queries.py#L16
'middleware.custom_exceptions.UserNotFoundError' imported but unused
[flake8] middleware/login_queries.py#L16 <401>: middleware/login_queries.py#L16
'middleware.custom_exceptions.TokenNotFoundError' imported but unused
[flake8] middleware/login_queries.py#L80 <103>: middleware/login_queries.py#L80
Missing docstring in public function
[flake8] middleware/login_queries.py#L108 <103>: middleware/login_queries.py#L108
Missing docstring in public function
[flake8] middleware/models.py#L1 <100>: middleware/models.py#L1
Missing docstring in public module
[flake8] middleware/models.py#L17 <101>: middleware/models.py#L17
Missing docstring in public class
[flake8] middleware/reset_token_queries.py#L10 <401>: middleware/reset_token_queries.py#L10
'middleware.custom_exceptions.TokenNotFoundError' imported but unused
[flake8] middleware/search_tokens_logic.py#L1 <401>: middleware/search_tokens_logic.py#L1
'psycopg2.extensions' imported but unused
[flake8] middleware/security.py#L3 <401>: middleware/security.py#L3
'flask_restx.abort' imported but unused
[flake8] middleware/security.py#L9 <811>: middleware/security.py#L9
redefinition of unused 'request' from line 2
[flake8] middleware/security.py#L21 <101>: middleware/security.py#L21
Missing docstring in public class
[flake8] middleware/security.py#L25 <101>: middleware/security.py#L25
Missing docstring in public class
[flake8] middleware/security.py#L29 <101>: middleware/security.py#L29
Missing docstring in public class
[flake8] middleware/security.py#L33 <101>: middleware/security.py#L33
Missing docstring in public class
[flake8] middleware/security.py#L75 <103>: middleware/security.py#L75
Missing docstring in public function
[flake8] middleware/security.py#L83 <103>: middleware/security.py#L83
Missing docstring in public function
[flake8] middleware/security.py#L95 <101>: middleware/security.py#L95
Missing docstring in public class
[flake8] middleware/security.py#L99 <103>: middleware/security.py#L99
Missing docstring in public function
[flake8] middleware/security.py#L106 <103>: middleware/security.py#L106
Missing docstring in public function
[flake8] middleware/security.py#L110 <101>: middleware/security.py#L110
Missing docstring in public class
[flake8] middleware/security.py#L112 <107>: middleware/security.py#L112
Missing docstring in __init__
[flake8] middleware/security.py#L117 <205>: middleware/security.py#L117
1 blank line required between summary line and description
[flake8] middleware/security.py#L117 <401>: middleware/security.py#L117
First line should be in imperative mood
[flake8] middleware/security.py#L139 <205>: middleware/security.py#L139
1 blank line required between summary line and description
[flake8] middleware/security.py#L139 <401>: middleware/security.py#L139
First line should be in imperative mood
[flake8] middleware/util.py#L1 <100>: middleware/util.py#L1
Missing docstring in public module
[flake8] middleware/util.py#L7 <205>: middleware/util.py#L7
1 blank line required between summary line and description
[flake8] middleware/webhook_logic.py#L1 <100>: middleware/webhook_logic.py#L1
Missing docstring in public module
[flake8] middleware/webhook_logic.py#L9 <103>: middleware/webhook_logic.py#L9
Missing docstring in public function
[flake8] middleware/webhook_logic.py#L21 <103>: middleware/webhook_logic.py#L21
Missing docstring in public function
[flake8] middleware/webhook_logic.py#L26 <841>: middleware/webhook_logic.py#L26
local variable 'r' is assigned to but never used
[flake8] resources/Agencies.py#L1 <100>: resources/Agencies.py#L1
Missing docstring in public module
[flake8] resources/Agencies.py#L2 <401>: resources/Agencies.py#L2
'psycopg2.extras' imported but unused
[flake8] resources/DataSources.py#L1 <100>: resources/DataSources.py#L1
Missing docstring in public module
[flake8] resources/DataSources.py#L1 <401>: resources/DataSources.py#L1
'http.HTTPStatus' imported but unused
[flake8] resources/DataSources.py#L3 <401>: resources/DataSources.py#L3
'flask.make_response' imported but unused
[flake8] resources/Login.py#L1 <100>: resources/Login.py#L1
Missing docstring in public module
[flake8] resources/Login.py#L1 <401>: resources/Login.py#L1
'flask_restx.abort' imported but unused
[flake8] resources/PsycopgResource.py#L1 <100>: resources/PsycopgResource.py#L1
Missing docstring in public module
[flake8] resources/QuickSearch.py#L1 <100>: resources/QuickSearch.py#L1
Missing docstring in public module
[flake8] resources/RefreshSession.py#L1 <100>: resources/RefreshSession.py#L1
Missing docstring in public module
[flake8] resources/RefreshSession.py#L3 <401>: resources/RefreshSession.py#L3
'flask_restx.abort' imported but unused
[flake8] resources/RefreshSession.py#L5 <401>: resources/RefreshSession.py#L5
'middleware.custom_exceptions.TokenNotFoundError' imported but unused
[flake8] resources/SearchTokens.py#L1 <100>: resources/SearchTokens.py#L1
Missing docstring in public module
[flake8] resources/User.py#L1 <100>: resources/User.py#L1
Missing docstring in public module
[flake8] tests/fixtures.py#L3 <401>: tests/fixtures.py#L3
'os' imported but unused
[flake8] tests/fixtures.py#L9 <401>: tests/fixtures.py#L9
'flask.testing.FlaskClient' imported but unused
[flake8] tests/fixtures.py#L93 <205>: tests/fixtures.py#L93
1 blank line required between summary line and description
[flake8] tests/fixtures.py#L93 <400>: tests/fixtures.py#L93
First line should end with a period
[flake8] tests/fixtures.py#L107 <205>: tests/fixtures.py#L107
1 blank line required between summary line and description
[flake8] tests/fixtures.py#L107 <400>: tests/fixtures.py#L107
First line should end with a period
[flake8] tests/fixtures.py#L107 <401>: tests/fixtures.py#L107
First line should be in imperative mood
[flake8] tests/fixtures.py#L119 <103>: tests/fixtures.py#L119
Missing docstring in public function
[flake8] tests/fixtures.py#L124 <205>: tests/fixtures.py#L124
1 blank line required between summary line and description
[flake8] tests/fixtures.py#L124 <400>: tests/fixtures.py#L124
First line should end with a period
[flake8] tests/fixtures.py#L124 <401>: tests/fixtures.py#L124
First line should be in imperative mood
[flake8] tests/fixtures.py#L129 <292>: tests/fixtures.py#L129
no newline at end of file
[flake8] tests/helper_functions.py#L5 <401>: tests/helper_functions.py#L5
'datetime.datetime' imported but unused
[flake8] tests/helper_functions.py#L5 <401>: tests/helper_functions.py#L5
'datetime.timedelta' imported but unused
[flake8] tests/helper_functions.py#L64 <103>: tests/helper_functions.py#L64
Missing docstring in public function
[flake8] tests/helper_functions.py#L188 <401>: tests/helper_functions.py#L188
First line should be in imperative mood
[flake8] tests/helper_functions.py#L204 <205>: tests/helper_functions.py#L204
1 blank line required between summary line and description
[flake8] tests/helper_functions.py#L204 <400>: tests/helper_functions.py#L204
First line should end with a period
[flake8] tests/helper_functions.py#L222 <205>: tests/helper_functions.py#L222
1 blank line required between summary line and description
[flake8] tests/helper_functions.py#L222 <400>: tests/helper_functions.py#L222
First line should end with a period
[flake8] tests/helper_functions.py#L239 <205>: tests/helper_functions.py#L239
1 blank line required between summary line and description
[flake8] tests/helper_functions.py#L239 <400>: tests/helper_functions.py#L239
First line should end with a period
[flake8] tests/helper_functions.py#L255 <205>: tests/helper_functions.py#L255
1 blank line required between summary line and description
[flake8] tests/helper_functions.py#L255 <400>: tests/helper_functions.py#L255
First line should end with a period
[flake8] tests/helper_functions.py#L272 <205>: tests/helper_functions.py#L272
1 blank line required between summary line and description
[flake8] tests/helper_functions.py#L272 <400>: tests/helper_functions.py#L272
First line should end with a period
[flake8] tests/helper_functions.py#L288 <103>: tests/helper_functions.py#L288
Missing docstring in public function
[flake8] tests/helper_functions.py#L295 <205>: tests/helper_functions.py#L295
1 blank line required between summary line and description
[flake8] tests/helper_functions.py#L295 <400>: tests/helper_functions.py#L295
First line should end with a period
[flake8] tests/helper_functions.py#L325 <205>: tests/helper_functions.py#L325
1 blank line required between summary line and description
[flake8] tests/helper_functions.py#L343 <103>: tests/helper_functions.py#L343
Missing docstring in public function
[flake8] tests/helper_functions.py#L350 <205>: tests/helper_functions.py#L350
1 blank line required between summary line and description
[flake8] tests/helper_functions.py#L350 <400>: tests/helper_functions.py#L350
First line should end with a period
[flake8] tests/helper_functions.py#L372 <105>: tests/helper_functions.py#L372
Missing docstring in magic method
[flake8] tests/helper_functions.py#L376 <105>: tests/helper_functions.py#L376
Missing docstring in magic method
[flake8] tests/helper_scripts/test_data_generator.py#L5 <200>: tests/helper_scripts/test_data_generator.py#L5
One-line docstring should fit on one line with quotes
[flake8] tests/helper_scripts/test_data_generator.py#L26 <205>: tests/helper_scripts/test_data_generator.py#L26
1 blank line required between summary line and description
[flake8] tests/integration/test_agencies.py#L5 <401>: tests/integration/test_agencies.py#L5
'tests.fixtures.dev_db_connection' imported but unused
[flake8] tests/integration/test_agencies.py#L5 <401>: tests/integration/test_agencies.py#L5
'tests.fixtures.client_with_db' imported but unused
[flake8] tests/integration/test_agencies.py#L14 <811>: tests/integration/test_agencies.py#L14
redefinition of unused 'client_with_db' from line 5
[flake8] tests/integration/test_agencies.py#L14 <811>: tests/integration/test_agencies.py#L14
redefinition of unused 'dev_db_connection' from line 5
[flake8] tests/integration/test_agencies.py#L16 <200>: tests/integration/test_agencies.py#L16
One-line docstring should fit on one line with quotes
[flake8] tests/integration/test_agencies.py#L16 <202>: tests/integration/test_agencies.py#L16
No blank lines allowed after function docstring
[flake8] tests/integration/test_api_key.py#L7 <401>: tests/integration/test_api_key.py#L7
'tests.fixtures.dev_db_connection' imported but unused
[flake8] tests/integration/test_api_key.py#L7 <401>: tests/integration/test_api_key.py#L7
'tests.fixtures.client_with_db' imported but unused
[flake8] tests/integration/test_api_key.py#L11 <811>: tests/integration/test_api_key.py#L11
redefinition of unused 'client_with_db' from line 7
[flake8] tests/integration/test_api_key.py#L11 <811>: tests/integration/test_api_key.py#L11
redefinition of unused 'dev_db_connection' from line 7
[flake8] tests/integration/test_api_key.py#L12 <200>: tests/integration/test_api_key.py#L12
One-line docstring should fit on one line with quotes
[flake8] tests/integration/test_api_key.py#L12 <202>: tests/integration/test_api_key.py#L12
No blank lines allowed after function docstring
[flake8] tests/integration/test_archives.py#L9 <401>: tests/integration/test_archives.py#L9
'tests.fixtures.dev_db_connection' imported but unused
[flake8] tests/integration/test_archives.py#L9 <401>: tests/integration/test_archives.py#L9
'tests.fixtures.client_with_db' imported but unused
[flake8] tests/integration/test_archives.py#L18 <811>: tests/integration/test_archives.py#L18
redefinition of unused 'client_with_db' from line 9
[flake8] tests/integration/test_archives.py#L18 <811>: tests/integration/test_archives.py#L18
redefinition of unused 'dev_db_connection' from line 9
[flake8] tests/integration/test_archives.py#L20 <200>: tests/integration/test_archives.py#L20
One-line docstring should fit on one line with quotes
[flake8] tests/integration/test_archives.py#L36 <811>: tests/integration/test_archives.py#L36
redefinition of unused 'client_with_db' from line 9
[flake8] tests/integration/test_archives.py#L36 <811>: tests/integration/test_archives.py#L36
redefinition of unused 'dev_db_connection' from line 9
[flake8] tests/integration/test_archives.py#L38 <200>: tests/integration/test_archives.py#L38
One-line docstring should fit on one line with quotes
[flake8] tests/integration/test_data_sources.py#L7 <401>: tests/integration/test_data_sources.py#L7
'tests.fixtures.connection_with_test_data' imported but unused
[flake8] tests/integration/test_data_sources.py#L7 <401>: tests/integration/test_data_sources.py#L7
'tests.fixtures.dev_db_connection' imported but unused
[flake8] tests/integration/test_data_sources.py#L7 <401>: tests/integration/test_data_sources.py#L7
'tests.fixtures.client_with_db' imported but unused
[flake8] tests/integration/test_data_sources.py#L22 <811>: tests/integration/test_data_sources.py#L22
redefinition of unused 'client_with_db' from line 7
[flake8] tests/integration/test_data_sources.py#L22 <811>: tests/integration/test_data_sources.py#L22
redefinition of unused 'connection_with_test_data' from line 7
[flake8] tests/integration/test_data_sources.py#L24 <200>: tests/integration/test_data_sources.py#L24
One-line docstring should fit on one line with quotes
[flake8] tests/integration/test_data_sources.py#L48 <811>: tests/integration/test_data_sources.py#L48
redefinition of unused 'client_with_db' from line 7
[flake8] tests/integration/test_data_sources.py#L48 <811>: tests/integration/test_data_sources.py#L48
redefinition of unused 'dev_db_connection' from line 7
[flake8] tests/integration/test_data_sources.py#L50 <200>: tests/integration/test_data_sources.py#L50
One-line docstring should fit on one line with quotes
[flake8] tests/integration/test_data_sources_by_id.py#L6 <401>: tests/integration/test_data_sources_by_id.py#L6
'tests.fixtures.connection_with_test_data' imported but unused
[flake8] tests/integration/test_data_sources_by_id.py#L15 <811>: tests/integration/test_data_sources_by_id.py#L15
redefinition of unused 'connection_with_test_data' from line 6
[flake8] tests/integration/test_data_sources_by_id.py#L32 <811>: tests/integration/test_data_sources_by_id.py#L32
redefinition of unused 'connection_with_test_data' from line 6
[flake8] tests/integration/test_data_sources_map.py#L5 <401>: tests/integration/test_data_sources_map.py#L5
'tests.fixtures.connection_with_test_data' imported but unused
[flake8] tests/integration/test_data_sources_map.py#L5 <401>: tests/integration/test_data_sources_map.py#L5
'tests.fixtures.dev_db_connection' imported but unused
[flake8] tests/integration/test_data_sources_map.py#L14 <811>: tests/integration/test_data_sources_map.py#L14
redefinition of unused 'connection_with_test_data' from line 5
[flake8] tests/integration/test_data_sources_map.py#L16 <200>: tests/integration/test_data_sources_map.py#L16
One-line docstring should fit on one line with quotes
[flake8] tests/integration/test_login.py#L5 <401>: tests/integration/test_login.py#L5
'tests.fixtures.dev_db_connection' imported but unused
[flake8] tests/integration/test_login.py#L5 <401>: tests/integration/test_login.py#L5
'tests.fixtures.client_with_db' imported but unused
[flake8] tests/integration/test_login.py#L9 <811>: tests/integration/test_login.py#L9
redefinition of unused 'client_with_db' from line 5
[flake8] tests/integration/test_login.py#L9 <811>: tests/integration/test_login.py#L9
redefinition of unused 'dev_db_connection' from line 5
[flake8] tests/integration/test_login.py#L10 <200>: tests/integration/test_login.py#L10
One-line docstring should fit on one line with quotes
[flake8] tests/integration/test_quick_search.py#L6 <401>: tests/integration/test_quick_search.py#L6
'tests.fixtures.dev_db_connection' imported but unused
[flake8] tests/integration/test_quick_search.py#L6 <401>: tests/integration/test_quick_search.py#L6
'tests.fixtures.client_with_db' imported but unused
[flake8] tests/integration/test_quick_search.py#L6 <401>: tests/integration/test_quick_search.py#L6
'tests.fixtures.connection_with_test_data' imported but unused
[flake8] tests/integration/test_quick_search.py#L14 <811>: tests/integration/test_quick_search.py#L14
redefinition of unused 'client_with_db' from line 6
[flake8] tests/integration/test_quick_search.py#L14 <811>: tests/integration/test_quick_search.py#L14
redefinition of unused 'connection_with_test_data' from line 6
[flake8] tests/integration/test_quick_search.py#L15 <200>: tests/integration/test_quick_search.py#L15
One-line docstring should fit on one line with quotes
[flake8] tests/integration/test_refresh_session.py#L6 <401>: tests/integration/test_refresh_session.py#L6
'tests.fixtures.dev_db_connection' imported but unused
[flake8] tests/integration/test_refresh_session.py#L6 <401>: tests/integration/test_refresh_session.py#L6
'tests.fixtures.client_with_db' imported but unused
[flake8] tests/integration/test_refresh_session.py#L11 <811>: tests/integration/test_refresh_session.py#L11
redefinition of unused 'dev_db_connection' from line 6
[flake8] tests/integration/test_refresh_session.py#L13 <200>: tests/integration/test_refresh_session.py#L13
One-line docstring should fit on one line with quotes
[flake8] tests/integration/test_reset_password.py#L9 <401>: tests/integration/test_reset_password.py#L9
'tests.fixtures.dev_db_connection' imported but unused
[flake8] tests/integration/test_reset_password.py#L9 <401>: tests/integration/test_reset_password.py#L9
'tests.fixtures.client_with_db' imported but unused
[flake8] tests/integration/test_reset_password.py#L10 <401>: tests/integration/test_reset_password.py#L10
'tests.helper_functions.login_and_return_session_token' imported but unused
[flake8] tests/integration/test_reset_password.py#L20 <811>: tests/integration/test_reset_password.py#L20
redefinition of unused 'client_with_db' from line 9
[flake8] tests/integration/test_reset_password.py#L20 <811>: tests/integration/test_reset_password.py#L20
redefinition of unused 'dev_db_connection' from line 9
[flake8] tests/integration/test_reset_password.py#L22 <200>: tests/integration/test_reset_password.py#L22
One-line docstring should fit on one line with quotes
[flake8] tests/integration/test_search_tokens.py#L6 <401>: tests/integration/test_search_tokens.py#L6
'tests.fixtures.connection_with_test_data' imported but unused
[flake8] tests/integration/test_search_tokens.py#L6 <401>: tests/integration/test_search_tokens.py#L6
'tests.fixtures.dev_db_connection' imported but unused
[flake8] tests/integration/test_search_tokens.py#L6 <401>: tests/integration/test_search_tokens.py#L6
'tests.fixtures.client_with_db' imported but unused
[flake8] tests/integration/test_search_tokens.py#L15 <811>: tests/integration/test_search_tokens.py#L15
redefinition of unused 'client_with_db' from line 6
[flake8] tests/integration/test_search_tokens.py#L15 <811>: tests/integration/test_search_tokens.py#L15
redefinition of unused 'connection_with_test_data' from line 6
[flake8] tests/integration/test_search_tokens.py#L17 <200>: tests/integration/test_search_tokens.py#L17
One-line docstring should fit on one line with quotes
[flake8] tests/integration/test_user.py#L8 <401>: tests/integration/test_user.py#L8
'tests.fixtures.dev_db_connection' imported but unused
[flake8] tests/integration/test_user.py#L8 <401>: tests/integration/test_user.py#L8
'tests.fixtures.client_with_db' imported but unused
[flake8] tests/integration/test_user.py#L16 <811>: tests/integration/test_user.py#L16
redefinition of unused 'client_with_db' from line 8
[flake8] tests/integration/test_user.py#L16 <811>: tests/integration/test_user.py#L16
redefinition of unused 'dev_db_connection' from line 8
[flake8] tests/integration/test_user.py#L17 <200>: tests/integration/test_user.py#L17
One-line docstring should fit on one line with quotes
[flake8] tests/integration/test_user.py#L17 <202>: tests/integration/test_user.py#L17
No blank lines allowed after function docstring
[flake8] tests/integration/test_user.py#L37 <811>: tests/integration/test_user.py#L37
redefinition of unused 'client_with_db' from line 8
[flake8] tests/integration/test_user.py#L37 <811>: tests/integration/test_user.py#L37
redefinition of unused 'dev_db_connection' from line 8
[flake8] tests/integration/test_user.py#L38 <200>: tests/integration/test_user.py#L38
One-line docstring should fit on one line with quotes
[flake8] tests/integration/test_user.py#L38 <202>: tests/integration/test_user.py#L38
No blank lines allowed after function docstring
[flake8] tests/middleware/test_data_source_queries.py#L18 <401>: tests/middleware/test_data_source_queries.py#L18
'tests.fixtures.connection_with_test_data' imported but unused
[flake8] tests/middleware/test_data_source_queries.py#L23 <205>: tests/middleware/test_data_source_queries.py#L23
1 blank line required between summary line and description
[flake8] tests/middleware/test_data_source_queries.py#L139 <205>: tests/middleware/test_data_source_queries.py#L139
1 blank line required between summary line and description
[flake8] tests/middleware/test_login_queries.py#L9 <401>: tests/middleware/test_login_queries.py#L9
'middleware.login_queries.create_session_token' imported but unused
[flake8] tests/middleware/test_login_queries.py#L16 <401>: tests/middleware/test_login_queries.py#L16
'middleware.custom_exceptions.UserNotFoundError' imported but unused
[flake8] tests/middleware/test_login_queries.py#L16 <401>: tests/middleware/test_login_queries.py#L16
'middleware.custom_exceptions.TokenNotFoundError' imported but unused
[flake8] tests/middleware/test_login_queries.py#L17 <401>: tests/middleware/test_login_queries.py#L17
'tests.helper_functions.create_test_user' imported but unused
[flake8] tests/middleware/test_login_queries.py#L18 <401>: tests/middleware/test_login_queries.py#L18
'tests.fixtures.dev_db_connection' imported but unused
[flake8] tests/middleware/test_login_queries.py#L22 <205>: tests/middleware/test_login_queries.py#L22
1 blank line required between summary line and description
[flake8] tests/middleware/test_login_queries.py#L39 <205>: tests/middleware/test_login_queries.py#L39
1 blank line required between summary line and description
[flake8] tests/middleware/test_quick_search_query.py#L23 <401>: tests/middleware/test_quick_search_query.py#L23
'tests.fixtures.connection_with_test_data' imported but unused
[flake8] tests/middleware/test_quick_search_query.py#L28 <811>: tests/middleware/test_quick_search_query.py#L28
redefinition of unused 'connection_with_test_data' from line 23
[flake8] tests/middleware/test_quick_search_query.py#L54 <811>: tests/middleware/test_quick_search_query.py#L54
redefinition of unused 'connection_with_test_data' from line 23
[flake8] tests/middleware/test_quick_search_query.py#L78 <811>: tests/middleware/test_quick_search_query.py#L78
redefinition of unused 'connection_with_test_data' from line 23
[flake8] tests/middleware/test_reset_token_queries.py#L8 <401>: tests/middleware/test_reset_token_queries.py#L8
'middleware.custom_exceptions.TokenNotFoundError' imported but unused
[flake8] tests/middleware/test_security.py#L8 <401>: tests/middleware/test_security.py#L8
'unittest.mock.patch' imported but unused
[flake8] tests/middleware/test_security.py#L15 <401>: tests/middleware/test_security.py#L15
'middleware.custom_exceptions.UserNotFoundError' imported but unused
[flake8] tests/middleware/test_security.py#L17 <401>: tests/middleware/test_security.py#L17
'middleware.security.APIKeyStatus' imported but unused
[flake8] tests/middleware/test_security.py#L17 <401>: tests/middleware/test_security.py#L17
'middleware.security.NoAPIKeyError' imported but unused
[flake8] tests/middleware/test_security.py#L32 <401>: tests/middleware/test_security.py#L32
'tests.fixtures.dev_db_connection' imported but unused
[flake8] tests/middleware/test_security.py#L35 <811>: tests/middleware/test_security.py#L35
redefinition of unused 'dev_db_connection' from line 32
[flake8] tests/middleware/test_security.py#L45 <811>: tests/middleware/test_security.py#L45
redefinition of unused 'dev_db_connection' from line 32
[flake8] tests/middleware/test_security.py#L54 <811>: tests/middleware/test_security.py#L54
redefinition of unused 'dev_db_connection' from line 32
[flake8] tests/middleware/test_security.py#L64 <811>: tests/middleware/test_security.py#L64
redefinition of unused 'dev_db_connection' from line 32
[flake8] tests/middleware/test_security.py#L73 <841>: tests/middleware/test_security.py#L73
local variable 'result' is assigned to but never used
[flake8] tests/middleware/test_security.py#L76 <811>: tests/middleware/test_security.py#L76
redefinition of unused 'dev_db_connection' from line 32
[flake8] tests/middleware/test_security.py#L87 <811>: tests/middleware/test_security.py#L87
redefinition of unused 'dev_db_connection' from line 32
[flake8] tests/middleware/test_security.py#L100 <811>: tests/middleware/test_security.py#L100
redefinition of unused 'dev_db_connection' from line 32
[flake8] tests/middleware/test_security.py#L103 <841>: tests/middleware/test_security.py#L103
local variable 'result' is assigned to but never used
[flake8] tests/middleware/test_security.py#L107 <811>: tests/middleware/test_security.py#L107
redefinition of unused 'dev_db_connection' from line 32
[flake8] tests/middleware/test_security.py#L113 <841>: tests/middleware/test_security.py#L113
local variable 'result' is assigned to but never used
[flake8] tests/middleware/test_security.py#L117 <811>: tests/middleware/test_security.py#L117
redefinition of unused 'dev_db_connection' from line 32
[flake8] tests/middleware/test_user_queries.py#L8 <401>: tests/middleware/test_user_queries.py#L8
'tests.helper_functions.create_test_user' imported but unused
[flake8] tests/middleware/test_user_queries.py#L9 <401>: tests/middleware/test_user_queries.py#L9
'tests.fixtures.db_cursor' imported but unused
[flake8] tests/middleware/test_user_queries.py#L9 <401>: tests/middleware/test_user_queries.py#L9
'tests.fixtures.dev_db_connection' imported but unused
[flake8] tests/middleware/test_util.py#L9 <103>: tests/middleware/test_util.py#L9
Missing docstring in public function
[flake8] tests/middleware/test_util.py#L18 <103>: tests/middleware/test_util.py#L18
Missing docstring in public function
[flake8] tests/middleware/test_util.py#L28 <103>: tests/middleware/test_util.py#L28
Missing docstring in public function
[flake8] tests/resources/test_Agencies.py#L2 <401>: tests/resources/test_Agencies.py#L2
'unittest.mock.MagicMock' imported but unused
[flake8] tests/resources/test_Agencies.py#L6 <401>: tests/resources/test_Agencies.py#L6
'tests.fixtures.client_with_mock_db' imported but unused
[flake8] tests/resources/test_Agencies.py#L13 <811>: tests/resources/test_Agencies.py#L13
redefinition of unused 'client_with_mock_db' from line 6
[flake8] tests/resources/test_ApiKey.py#L3 <401>: tests/resources/test_ApiKey.py#L3
'tests.fixtures.client_with_mock_db' imported but unused
[flake8] tests/resources/test_ApiKey.py#L7 <103>: tests/resources/test_ApiKey.py#L7
Missing docstring in public function
[flake8] tests/resources/test_ApiKey.py#L7 <811>: tests/resources/test_ApiKey.py#L7
redefinition of unused 'client_with_mock_db' from line 3
[flake8] tests/resources/test_Archives.py#L1 <401>: tests/resources/test_Archives.py#L1
'unittest.mock.patch' imported but unused
[flake8] tests/resources/test_Archives.py#L6 <401>: tests/resources/test_Archives.py#L6
'tests.fixtures.client_with_mock_db' imported but unused
[flake8] tests/resources/test_Archives.py#L6 <401>: tests/resources/test_Archives.py#L6
'tests.fixtures.bypass_api_required' imported but unused
[flake8] tests/resources/test_Archives.py#L9 <811>: tests/resources/test_Archives.py#L9
redefinition of unused 'client_with_mock_db' from line 6
[flake8] tests/resources/test_Archives.py#L9 <811>: tests/resources/test_Archives.py#L9
redefinition of unused 'bypass_api_required' from line 6
[flake8] tests/resources/test_Archives.py#L20 <811>: tests/resources/test_Archives.py#L20
redefinition of unused 'client_with_mock_db' from line 6
[flake8] tests/resources/test_Archives.py#L20 <811>: tests/resources/test_Archives.py#L20
redefinition of unused 'bypass_api_required' from line 6
[flake8] tests/resources/test_DataSources.py#L4 <401>: tests/resources/test_DataSources.py#L4
'tests.fixtures.client_with_mock_db' imported but unused
[flake8] tests/resources/test_DataSources.py#L4 <401>: tests/resources/test_DataSources.py#L4
'tests.fixtures.bypass_api_required' imported but unused
[flake8] tests/resources/test_DataSources.py#L11 <811>: tests/resources/test_DataSources.py#L11
redefinition of unused 'client_with_mock_db' from line 4
[flake8] tests/resources/test_DataSources.py#L11 <811>: tests/resources/test_DataSources.py#L11
redefinition of unused 'bypass_api_required' from line 4
[flake8] tests/resources/test_DataSources.py#L20 <811>: tests/resources/test_DataSources.py#L20
redefinition of unused 'test_put_data_source_by_id' from line 11
[flake8] tests/resources/test_DataSources.py#L20 <811>: tests/resources/test_DataSources.py#L20
redefinition of unused 'client_with_mock_db' from line 4
[flake8] tests/resources/test_DataSources.py#L20 <811>: tests/resources/test_DataSources.py#L20
redefinition of unused 'bypass_api_required' from line 4
[flake8] tests/resources/test_DataSources.py#L45 <811>: tests/resources/test_DataSources.py#L45
redefinition of unused 'client_with_mock_db' from line 4
[flake8] tests/resources/test_DataSources.py#L45 <811>: tests/resources/test_DataSources.py#L45
redefinition of unused 'bypass_api_required' from line 4
[flake8] tests/resources/test_DataSources.py#L68 <811>: tests/resources/test_DataSources.py#L68
redefinition of unused 'client_with_mock_db' from line 4
[flake8] tests/resources/test_DataSources.py#L68 <811>: tests/resources/test_DataSources.py#L68
redefinition of unused 'bypass_api_required' from line 4
[flake8] tests/resources/test_Login.py#L3 <401>: tests/resources/test_Login.py#L3
'tests.fixtures.client_with_mock_db' imported but unused
[flake8] tests/resources/test_Login.py#L7 <103>: tests/resources/test_Login.py#L7
Missing docstring in public function
[flake8] tests/resources/test_Login.py#L7 <811>: tests/resources/test_Login.py#L7
redefinition of unused 'client_with_mock_db' from line 3
[flake8] tests/resources/test_RefreshSession.py#L6 <401>: tests/resources/test_RefreshSession.py#L6
'tests.fixtures.client_with_mock_db' imported but unused
[flake8] tests/resources/test_RefreshSession.py#L10 <811>: tests/resources/test_RefreshSession.py#L10
redefinition of unused 'client_with_mock_db' from line 6
[flake8] tests/resources/test_RequestResetPassword.py#L3 <401>: tests/resources/test_RequestResetPassword.py#L3
'tests.fixtures.client_with_mock_db' imported but unused
[flake8] tests/resources/test_RequestResetPassword.py#L7 <811>: tests/resources/test_RequestResetPassword.py#L7
redefinition of unused 'client_with_mock_db' from line 3
[flake8] tests/resources/test_ResetPassword.py#L3 <401>: tests/resources/test_ResetPassword.py#L3
'tests.fixtures.client_with_mock_db' imported but unused
[flake8] tests/resources/test_ResetPassword.py#L7 <811>: tests/resources/test_ResetPassword.py#L7
redefinition of unused 'client_with_mock_db' from line 3
[flake8] tests/resources/test_ResetTokenValidation.py#L3 <401>: tests/resources/test_ResetTokenValidation.py#L3
'tests.fixtures.client_with_mock_db' imported but unused
[flake8] tests/resources/test_ResetTokenValidation.py#L7 <811>: tests/resources/test_ResetTokenValidation.py#L7
redefinition of unused 'client_with_mock_db' from line 3
[flake8] tests/resources/test_User.py#L1 <100>: tests/resources/test_User.py#L1
Missing docstring in public module
[flake8] tests/resources/test_User.py#L4 <401>: tests/resources/test_User.py#L4
'tests.fixtures.client_with_mock_db' imported but unused
[flake8] tests/resources/test_User.py#L4 <401>: tests/resources/test_User.py#L4
'tests.fixtures.bypass_api_required' imported but unused
[flake8] tests/resources/test_User.py#L8 <103>: tests/resources/test_User.py#L8
Missing docstring in public function
[flake8] tests/resources/test_User.py#L8 <811>: tests/resources/test_User.py#L8
redefinition of unused 'client_with_mock_db' from line 4
[flake8] tests/resources/test_User.py#L8 <100>: tests/resources/test_User.py#L8
Unused argument 'bypass_api_required'
[flake8] tests/resources/test_User.py#L8 <811>: tests/resources/test_User.py#L8
redefinition of unused 'bypass_api_required' from line 4
[flake8] tests/resources/test_search_tokens.py#L3 <401>: tests/resources/test_search_tokens.py#L3
'tests.fixtures.client_with_mock_db' imported but unused
[flake8] tests/resources/test_search_tokens.py#L7 <811>: tests/resources/test_search_tokens.py#L7
redefinition of unused 'client_with_mock_db' from line 3
[flake8] tests/test_database_client.py#L10 <401>: tests/test_database_client.py#L10
'middleware.custom_exceptions.TokenNotFoundError' imported but unused
[flake8] tests/test_database_client.py#L15 <401>: tests/test_database_client.py#L15
'tests.fixtures.live_database_client' imported but unused
[flake8] tests/test_database_client.py#L15 <401>: tests/test_database_client.py#L15
'tests.fixtures.dev_db_connection' imported but unused
[flake8] tests/test_database_client.py#L15 <401>: tests/test_database_client.py#L15
'tests.fixtures.db_cursor' imported but unused
[flake8] tests/test_database_client.py#L16 <401>: tests/test_database_client.py#L16
'tests.helper_functions.insert_test_agencies_and_sources' imported but unused
[flake8] tests/test_database_client.py#L22 <103>: tests/test_database_client.py#L22
Missing docstring in public function
[flake8] tests/test_database_client.py#L22 <811>: tests/test_database_client.py#L22
redefinition of unused 'live_database_client' from line 15
[flake8] tests/test_database_client.py#L32 <103>: tests/test_database_client.py#L32
Missing docstring in public function
[flake8] tests/test_database_client.py#L32 <811>: tests/test_database_client.py#L32
redefinition of unused 'live_database_client' from line 15
[flake8] tests/test_database_client.py#L49 <103>: tests/test_database_client.py#L49
Missing docstring in public function
[flake8] tests/test_database_client.py#L49 <811>: tests/test_database_client.py#L49
redefinition of unused 'live_database_client' from line 15
[flake8] tests/test_database_client.py#L60 <103>: tests/test_database_client.py#L60
Missing docstring in public function
[flake8] tests/test_database_client.py#L60 <811>: tests/test_database_client.py#L60
redefinition of unused 'live_database_client' from line 15
[flake8] tests/test_database_client.py#L74 <103>: tests/test_database_client.py#L74
Missing docstring in public function
[flake8] tests/test_database_client.py#L74 <811>: tests/test_database_client.py#L74
redefinition of unused 'live_database_client' from line 15
[flake8] tests/test_database_client.py#L97 <103>: tests/test_database_client.py#L97
Missing docstring in public function
[flake8] tests/test_database_client.py#L97 <811>: tests/test_database_client.py#L97
redefinition of unused 'live_database_client' from line 15
[flake8] tests/test_database_client.py#L110 <811>: tests/test_database_client.py#L110
redefinition of unused 'live_database_client' from line 15
[flake8] tests/test_database_client.py#L123 <811>: tests/test_database_client.py#L123
redefinition of unused 'live_database_client' from line 15
[flake8] tests/test_database_client.py#L139 <811>: tests/test_database_client.py#L139
redefinition of unused 'live_database_client' from line 15
[flake8] tests/test_database_client.py#L159 <811>: tests/test_database_client.py#L159
redefinition of unused 'live_database_client' from line 15
[flake8] tests/test_database_client.py#L175 <811>: tests/test_database_client.py#L175
redefinition of unused 'live_database_client' from line 15
[flake8] tests/test_database_client.py#L191 <811>: tests/test_database_client.py#L191
redefinition of unused 'live_database_client' from line 15
[flake8] tests/test_database_client.py#L203 <811>: tests/test_database_client.py#L203
redefinition of unused 'live_database_client' from line 15
[flake8] tests/test_database_client.py#L208 <811>: tests/test_database_client.py#L208
redefinition of unused 'live_database_client' from line 15
[flake8] tests/test_database_client.py#L222 <811>: tests/test_database_client.py#L222
redefinition of unused 'live_database_client' from line 15
[flake8] tests/test_database_client.py#L235 <811>: tests/test_database_client.py#L235
redefinition of unused 'live_database_client' from line 15
[flake8] tests/test_database_client.py#L267 <811>: tests/test_database_client.py#L267
redefinition of unused 'live_database_client' from line 15
[flake8] tests/test_database_client.py#L287 <811>: tests/test_database_client.py#L287
redefinition of unused 'live_database_client' from line 15
[flake8] tests/test_database_client.py#L307 <811>: tests/test_database_client.py#L307
redefinition of unused 'live_database_client' from line 15
[flake8] tests/test_database_client.py#L326 <811>: tests/test_database_client.py#L326
redefinition of unused 'live_database_client' from line 15
[flake8] tests/test_database_client.py#L350 <811>: tests/test_database_client.py#L350
redefinition of unused 'live_database_client' from line 15
[flake8] tests/test_database_client.py#L378 <811>: tests/test_database_client.py#L378
redefinition of unused 'live_database_client' from line 15
[flake8] tests/test_database_client.py#L397 <811>: tests/test_database_client.py#L397
redefinition of unused 'live_database_client' from line 15
[flake8] tests/test_endpoints.py#L1 <205>: tests/test_endpoints.py#L1
1 blank line required between summary line and description
[flake8] tests/test_endpoints.py#L1 <400>: tests/test_endpoints.py#L1
First line should end with a period
[flake8] tests/test_endpoints.py#L32 <401>: tests/test_endpoints.py#L32
'tests.fixtures.client_with_mock_db' imported but unused
[flake8] tests/test_endpoints.py#L41 <103>: tests/test_endpoints.py#L41
Missing docstring in public function
[flake8] tests/test_endpoints.py#L85 <811>: tests/test_endpoints.py#L85
redefinition of unused 'client_with_mock_db' from line 32
[flake8] tests/test_endpoints.py#L86 <205>: tests/test_endpoints.py#L86
1 blank line required between summary line and description
[flake8] tests/test_endpoints.py#L86 <400>: tests/test_endpoints.py#L86
First line should end with a period
[flake8] tests/utilities/test_common.py#L6 <103>: tests/utilities/test_common.py#L6
Missing docstring in public function
[flake8] utilities/common.py#L6 <103>: utilities/common.py#L6
Missing docstring in public function
[flake8] utilities/managed_cursor.py#L1 <100>: utilities/managed_cursor.py#L1
Missing docstring in public module