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

Mc issue 352 search endpoint #49

Merged
merged 13 commits into from
Jul 19, 2024

Refactored search logic test to return data in proper format and adde…

eb66286
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Mc issue 352 search endpoint #49

Refactored search logic test to return data in proper format and adde…
eb66286
Select commit
Loading
Failed to load commit list.
GitHub Actions / flake8 completed Jul 19, 2024 in 2s

reviewdog [flake8] report

reported by reviewdog 🐶

Findings (66)

database_client/database_client.py|669 col 1| First line should be in imperative mood
database_client/database_client.py|699 col 10| no newline at end of file
database_client/dynamic_query_constructor.py|272 col 1| Missing docstring in public method
database_client/dynamic_query_constructor.py|277 col 9| missing whitespace around operator
database_client/dynamic_query_constructor.py|342 col 1| blank line at end of file
database_client/result_formatter.py|1 col 1| Missing docstring in public module
database_client/result_formatter.py|73 col 1| Missing docstring in public function
database_client/result_formatter.py|73 col 1| expected 2 blank lines, found 1
database_client/result_formatter.py|74 col 51| no newline at end of file
middleware/search_logic.py|1 col 1| Missing docstring in public module
middleware/search_logic.py|7 col 1| 'database_client.result_formatter.ResultFormatter' imported but unused
middleware/search_logic.py|11 col 1| Missing docstring in public function
resources/Search.py|1 col 1| Missing docstring in public module
resources/Search.py|53 col 1| 1 blank line required between summary line and description
resources/Search.py|53 col 1| First line should end with a period
resources/Search.py|65 col 1| First line should be in imperative mood
resources/resource_helpers.py|32 col 1| Missing docstring in public function
tests/fixtures.py|133 col 1| expected 2 blank lines, found 1
tests/fixtures.py|135 col 1| One-line docstring should fit on one line with quotes
tests/fixtures.py|135 col 1| First line should be in imperative mood
tests/fixtures.py|143 col 1| blank line at end of file
tests/integration/test_search.py|1 col 1| Missing docstring in public module
tests/integration/test_search.py|2 col 1| 'tests.fixtures.client_with_db' imported but unused
tests/integration/test_search.py|2 col 1| 'tests.fixtures.dev_db_connection' imported but unused
tests/integration/test_search.py|2 col 1| 'tests.fixtures.bypass_api_required' imported but unused
tests/integration/test_search.py|4 col 1| Missing docstring in public function
tests/integration/test_search.py|4 col 1| expected 2 blank lines, found 1
tests/integration/test_search.py|4 col 21| redefinition of unused 'client_with_db' from line 2
tests/integration/test_search.py|4 col 37| Unused argument 'bypass_api_required'
tests/integration/test_search.py|4 col 37| redefinition of unused 'bypass_api_required' from line 2
tests/integration/test_search.py|11 col 1| blank line at end of file
tests/middleware/test_search_logic.py|1 col 1| Missing docstring in public module
tests/middleware/test_search_logic.py|7 col 1| Missing docstring in public function
tests/middleware/test_search_logic.py|30 col 1| blank line at end of file
tests/resources/test_Search.py|1 col 1| Missing docstring in public module
tests/resources/test_Search.py|3 col 1| 'unittest.mock.MagicMock' imported but unused
tests/resources/test_Search.py|6 col 1| 'tests.fixtures.client_with_mock_db' imported but unused
tests/resources/test_Search.py|6 col 1| 'tests.fixtures.bypass_api_required' imported but unused
tests/resources/test_Search.py|11 col 1| Missing docstring in public function
tests/resources/test_Search.py|12 col 5| Unused argument 'db_client'
tests/resources/test_Search.py|26 col 1| Missing docstring in public function
tests/resources/test_Search.py|26 col 1| expected 2 blank lines, found 1
tests/resources/test_Search.py|26 col 36| redefinition of unused 'client_with_mock_db' from line 6
tests/resources/test_Search.py|26 col 70| Unused argument 'bypass_api_required'
tests/resources/test_Search.py|26 col 70| redefinition of unused 'bypass_api_required' from line 6
tests/resources/test_Search.py|37 col 1| Missing docstring in public function
tests/resources/test_Search.py|38 col 5| Unused argument 'db_client'
tests/resources/test_Search.py|52 col 1| Missing docstring in public function
tests/resources/test_Search.py|52 col 1| expected 2 blank lines, found 1
tests/resources/test_Search.py|52 col 40| redefinition of unused 'client_with_mock_db' from line 6
tests/resources/test_Search.py|52 col 74| Unused argument 'bypass_api_required'
tests/resources/test_Search.py|52 col 74| redefinition of unused 'bypass_api_required' from line 6
tests/resources/test_Search.py|58 col 57| no newline at end of file
tests/test_database_client.py|15 col 1| 'tests.fixtures.live_database_client' imported but unused
tests/test_database_client.py|15 col 1| 'tests.fixtures.dev_db_connection' imported but unused
tests/test_database_client.py|15 col 1| 'tests.fixtures.db_cursor' imported but unused
tests/test_database_client.py|15 col 1| 'tests.fixtures.xylonslyvania_test_data' imported but unused
tests/test_database_client.py|21 col 1| 'tests.helper_scripts.test_data_generator.TestDataGenerator' imported but unused
tests/test_database_client.py|452 col 1| expected 2 blank lines, found 1
tests/test_database_client.py|452 col 58| redefinition of unused 'live_database_client' from line 15
tests/test_database_client.py|453 col 1| 1 blank line required between summary line and description
tests/test_database_client.py|453 col 1| First line should end with a period
utilities/enums.py|1 col 1| Missing docstring in public module
utilities/enums.py|3 col 1| expected 2 blank lines, found 1
utilities/enums.py|4 col 1| One-line docstring should fit on one line with quotes
utilities/enums.py|4 col 1| 1 blank line required after class docstring

Filtered Findings (881)

app.py|1 col 1| Missing docstring in public module
app.py|7 col 1| 'resources.TypeaheadSuggestions.TypeaheadSuggestions' imported but unused
app.py|49 col 1| 1 blank line required between summary line and description
app.py|49 col 1| First line should end with a period
app.py|57 col 1| Missing docstring in init
app.py|60 col 1| Missing docstring in public method
app.py|65 col 62| whitespace before ':'
app.py|73 col 1| Missing docstring in public function
config.py|1 col 1| Missing docstring in public module
config.py|3 col 1| Missing docstring in public class
config.py|6 col 1| expected 2 blank lines after class or function definition, found 1
conftest.py|1 col 1| Missing docstring in public module
conftest.py|1 col 1| 'os' imported but unused
conftest.py|17 col 1| Missing docstring in public function
conftest.py|32 col 1| Missing docstring in public function
database_client/init.py|1 col 1| Missing docstring in public package
database_client/constants.py|1 col 1| Missing docstring in public module
database_client/database_client.py|1 col 1| Missing docstring in public module
database_client/database_client.py|3 col 1| 'contextlib.contextmanager' imported but unused
database_client/database_client.py|6 col 1| 'uuid' imported but unused
database_client/database_client.py|12 col 1| 'middleware.custom_exceptions.TokenNotFoundError' imported but unused
database_client/database_client.py|66 col 1| Missing docstring in public class
database_client/database_client.py|68 col 1| Missing docstring in init
database_client/database_client.py|72 col 1| 1 blank line required between summary line and description
database_client/database_client.py|72 col 1| First line should be in imperative mood
database_client/database_client.py|87 col 1| 1 blank line required between summary line and description
database_client/database_client.py|87 col 1| First line should be in imperative mood
database_client/database_client.py|101 col 1| 1 blank line required between summary line and description
database_client/database_client.py|101 col 1| First line should be in imperative mood
database_client/database_client.py|118 col 1| First line should be in imperative mood
database_client/database_client.py|134 col 1| First line should be in imperative mood
database_client/database_client.py|146 col 1| First line should be in imperative mood
database_client/database_client.py|162 col 1| First line should be in imperative mood
database_client/database_client.py|180 col 1| 1 blank line required between summary line and description
database_client/database_client.py|180 col 1| First line should end with a period
database_client/database_client.py|195 col 1| First line should be in imperative mood
database_client/database_client.py|212 col 1| 1 blank line required between summary line and description
database_client/database_client.py|212 col 1| First line should end with a period
database_client/database_client.py|223 col 1| 1 blank line required between summary line and description
database_client/database_client.py|238 col 1| No blank lines allowed after function docstring
database_client/database_client.py|238 col 1| First line should be in imperative mood
database_client/database_client.py|253 col 1| First line should be in imperative mood
database_client/database_client.py|266 col 1| First line should be in imperative mood
database_client/database_client.py|275 col 1| First line should be in imperative mood
database_client/database_client.py|303 col 1| First line should be in imperative mood
database_client/database_client.py|335 col 1| First line should be in imperative mood
database_client/database_client.py|380 col 1| 1 blank line required between summary line and description
database_client/database_client.py|380 col 1| First line should be in imperative mood
database_client/database_client.py|398 col 1| First line should be in imperative mood
database_client/database_client.py|439 col 1| First line should be in imperative mood
database_client/database_client.py|456 col 1| First line should be in imperative mood
database_client/database_client.py|486 col 1| First line should be in imperative mood
database_client/database_client.py|528 col 1| First line should be in imperative mood
database_client/database_client.py|551 col 1| First line should be in imperative mood
database_client/database_client.py|563 col 1| First line should be in imperative mood
database_client/database_client.py|585 col 1| First line should be in imperative mood
database_client/database_client.py|604 col 1| First line should be in imperative mood
database_client/database_client.py|617 col 1| First line should be in imperative mood
database_client/database_client.py|634 col 1| First line should be in imperative mood
database_client/database_client.py|640 col 5| expected 1 blank line, found 0
database_client/database_client.py|641 col 1| First line should be in imperative mood
database_client/dynamic_query_constructor.py|1 col 1| Missing docstring in public module
database_client/dynamic_query_constructor.py|21 col 1| 1 blank line required between summary line and description
database_client/dynamic_query_constructor.py|21 col 1| First line should end with a period
database_client/dynamic_query_constructor.py|28 col 1| Missing docstring in public method
database_client/dynamic_query_constructor.py|60 col 1| Missing docstring in public method
database_client/dynamic_query_constructor.py|64 col 1| Missing docstring in public method
database_client/dynamic_query_constructor.py|92 col 1| Missing docstring in public method
database_client/dynamic_query_constructor.py|129 col 1| Missing docstring in public method
database_client/dynamic_query_constructor.py|149 col 1| Missing docstring in public method
database_client/dynamic_query_constructor.py|158 col 1| First line should be in imperative mood
database_client/dynamic_query_constructor.py|189 col 1| First line should be in imperative mood
database_client/dynamic_query_constructor.py|228 col 5| too many blank lines (2)
database_client/dynamic_query_constructor.py|229 col 1| Missing docstring in public method
database_client/result_formatter.py|14 col 1| 1 blank line required between summary line and description
database_client/result_formatter.py|14 col 1| First line should end with a period
database_client/result_formatter.py|23 col 1| 1 blank line required between summary line and description
database_client/result_formatter.py|23 col 1| First line should end with a period
database_client/result_formatter.py|41 col 1| Missing docstring in public method
database_client/result_formatter.py|49 col 1| Missing docstring in public method
database_client/result_formatter.py|55 col 1| Missing docstring in public method
database_client/result_formatter.py|61 col 1| Missing docstring in public method
gunicorn_config.py|1 col 1| Missing docstring in public module
middleware/init.py|1 col 1| Missing docstring in public package
middleware/access_token_logic.py|1 col 1| Missing docstring in public module
middleware/access_token_logic.py|7 col 1| Missing docstring in public function
middleware/agencies.py|1 col 1| Missing docstring in public module
middleware/agencies.py|10 col 1| First line should be in imperative mood
middleware/agencies.py|23 col 1| 1 blank line required between summary line and description
middleware/agencies.py|23 col 1| First line should be in imperative mood
middleware/agencies.py|36 col 1| 1 blank line required between summary line and description
middleware/agencies.py|36 col 1| First line should be in imperative mood
middleware/archives_queries.py|1 col 1| Missing docstring in public module
middleware/archives_queries.py|2 col 1| 'typing.Optional' imported but unused
middleware/archives_queries.py|2 col 1| 'typing.Tuple' imported but unused
middleware/archives_queries.py|4 col 1| 'psycopg2' imported but unused
middleware/archives_queries.py|9 col 1| 'psycopg2.extensions.connection as PgConnection' imported but unused
middleware/archives_queries.py|23 col 1| First line should be in imperative mood
middleware/archives_queries.py|46 col 1| First line should end with a period
middleware/archives_queries.py|46 col 1| First line should be in imperative mood
middleware/custom_exceptions.py|1 col 1| Missing docstring in public module
middleware/custom_exceptions.py|4 col 1| Missing docstring in init
middleware/custom_exceptions.py|18 col 1| Missing docstring in public class
middleware/data_source_queries.py|1 col 1| Missing docstring in public module
middleware/data_source_queries.py|12 col 1| Missing docstring in public class
middleware/data_source_queries.py|16 col 1| Missing docstring in public function
middleware/data_source_queries.py|28 col 1| Missing docstring in public function
middleware/data_source_queries.py|38 col 1| Missing docstring in public function
middleware/data_source_queries.py|54 col 1| First line should end with a period
middleware/data_source_queries.py|54 col 1| First line should be in imperative mood
middleware/data_source_queries.py|68 col 1| Missing docstring in public function
middleware/data_source_queries.py|79 col 1| Missing docstring in public function
middleware/data_source_queries.py|88 col 1| Missing docstring in public function
middleware/data_source_queries.py|93 col 1| Missing docstring in public function
middleware/data_source_queries.py|110 col 1| 1 blank line required between summary line and description
middleware/data_source_queries.py|110 col 1| First line should end with a period
middleware/initialize_psycopg2_connection.py|1 col 1| Missing docstring in public module
middleware/initialize_psycopg2_connection.py|7 col 1| One-line docstring should fit on one line with quotes
middleware/initialize_psycopg2_connection.py|11 col 1| Missing docstring in init
middleware/initialize_psycopg2_connection.py|17 col 1| 1 blank line required between summary line and description
middleware/initialize_psycopg2_connection.py|17 col 1| First line should end with a period
middleware/initialize_psycopg2_connection.py|17 col 1| First line should be in imperative mood
middleware/login_queries.py|1 col 1| Missing docstring in public module
middleware/login_queries.py|3 col 1| 'datetime.datetime as dt' imported but unused
middleware/login_queries.py|7 col 1| 'os' imported but unused
middleware/login_queries.py|9 col 1| 'typing.Union' imported but unused
middleware/login_queries.py|9 col 1| 'typing.Dict' imported but unused
middleware/login_queries.py|12 col 1| 'psycopg2.extensions.cursor as PgCursor' imported but unused
middleware/login_queries.py|16 col 1| 'middleware.custom_exceptions.UserNotFoundError' imported but unused
middleware/login_queries.py|16 col 1| 'middleware.custom_exceptions.TokenNotFoundError' imported but unused
middleware/login_queries.py|21 col 1| First line should be in imperative mood
middleware/login_queries.py|41 col 1| First line should be in imperative mood
middleware/login_queries.py|53 col 1| First line should be in imperative mood
middleware/login_queries.py|80 col 1| Missing docstring in public function
middleware/login_queries.py|87 col 1| First line should end with a period
middleware/login_queries.py|87 col 1| First line should be in imperative mood
middleware/login_queries.py|108 col 1| Missing docstring in public function
middleware/models.py|1 col 1| Missing docstring in public module
middleware/models.py|17 col 1| Missing docstring in public class
middleware/quick_search_query.py|1 col 1| Missing docstring in public module
middleware/quick_search_query.py|52 col 1| No blank lines allowed after function docstring
middleware/quick_search_query.py|52 col 1| 1 blank line required between summary line and description
middleware/quick_search_query.py|52 col 1| First line should be in imperative mood
middleware/quick_search_query.py|79 col 1| Missing docstring in public function
middleware/quick_search_query.py|89 col 1| Missing docstring in public function
middleware/quick_search_query.py|100 col 1| Missing docstring in public function
middleware/quick_search_query.py|122 col 1| Missing docstring in public function
middleware/quick_search_query.py|134 col 13| line break before binary operator
middleware/quick_search_query.py|135 col 13| line break before binary operator
middleware/quick_search_query.py|136 col 13| line break before binary operator
middleware/quick_search_query.py|137 col 13| line break before binary operator
middleware/quick_search_query.py|138 col 13| line break before binary operator
middleware/reset_token_queries.py|1 col 1| Missing docstring in public module
middleware/reset_token_queries.py|5 col 1| 'typing.Dict' imported but unused
middleware/reset_token_queries.py|5 col 1| 'typing.Union' imported but unused
middleware/reset_token_queries.py|10 col 1| 'middleware.custom_exceptions.TokenNotFoundError' imported but unused
middleware/reset_token_queries.py|16 col 1| Missing docstring in public class
middleware/reset_token_queries.py|21 col 1| 1 blank line required between summary line and description
middleware/reset_token_queries.py|21 col 1| First line should be in imperative mood
middleware/reset_token_queries.py|41 col 1| 1 blank line required between summary line and description
middleware/reset_token_queries.py|41 col 1| First line should be in imperative mood
middleware/reset_token_queries.py|56 col 1| Missing docstring in public function
middleware/reset_token_queries.py|61 col 1| Missing docstring in public function
middleware/reset_token_queries.py|67 col 1| Missing docstring in public function
middleware/reset_token_queries.py|72 col 1| Missing docstring in public function
middleware/reset_token_queries.py|80 col 1| Missing docstring in public function
middleware/search_tokens_logic.py|1 col 1| Missing docstring in public module
middleware/search_tokens_logic.py|1 col 1| 'psycopg2.extensions' imported but unused
middleware/search_tokens_logic.py|13 col 1| Missing docstring in public class
middleware/search_tokens_logic.py|14 col 1| Missing docstring in init
middleware/search_tokens_logic.py|19 col 1| module level import not at top of file
middleware/search_tokens_logic.py|22 col 1| Missing docstring in public class
middleware/search_tokens_logic.py|29 col 1| Missing docstring in public function
middleware/security.py|1 col 1| Missing docstring in public module
middleware/security.py|2 col 1| 'flask.jsonify' imported but unused
middleware/security.py|3 col 1| 'flask_restx.abort' imported but unused
middleware/security.py|9 col 1| redefinition of unused 'request' from line 2
middleware/security.py|21 col 1| Missing docstring in public class
middleware/security.py|25 col 1| Missing docstring in public class
middleware/security.py|29 col 1| Missing docstring in public class
middleware/security.py|33 col 1| Missing docstring in public class
middleware/security.py|38 col 1| No blank lines allowed after function docstring
middleware/security.py|38 col 1| First line should be in imperative mood
middleware/security.py|75 col 1| Missing docstring in public function
middleware/security.py|83 col 1| Missing docstring in public function
middleware/security.py|95 col 1| Missing docstring in public class
middleware/security.py|99 col 1| Missing docstring in public function
middleware/security.py|106 col 1| Missing docstring in public function
middleware/security.py|110 col 1| Missing docstring in public class
middleware/security.py|112 col 1| Missing docstring in init
middleware/security.py|117 col 1| 1 blank line required between summary line and description
middleware/security.py|117 col 1| First line should be in imperative mood
middleware/security.py|139 col 1| 1 blank line required between summary line and description
middleware/security.py|139 col 1| First line should be in imperative mood
middleware/security.py|159 col 1| 1 blank line required between summary line and description
middleware/security.py|159 col 1| First line should end with a period
middleware/security.py|159 col 1| First line should be in imperative mood; try rephrasing
middleware/typeahead_suggestion_logic.py|1 col 1| Missing docstring in public module
middleware/typeahead_suggestion_logic.py|8 col 1| Missing docstring in public function
middleware/typeahead_suggestion_logic.py|11 col 1| Missing docstring in public function
middleware/typeahead_suggestion_logic.py|11 col 1| expected 2 blank lines, found 1
middleware/user_queries.py|1 col 1| Missing docstring in public module
middleware/user_queries.py|2 col 1| 'psycopg2.extensions.cursor as PgCursor' imported but unused
middleware/user_queries.py|3 col 1| 'typing.Dict' imported but unused
middleware/user_queries.py|10 col 1| First line should be in imperative mood
middleware/user_queries.py|23 col 1| First line should be in imperative mood
middleware/util.py|1 col 1| Missing docstring in public module
middleware/util.py|7 col 1| 1 blank line required between summary line and description
... (Too many findings. Dropped some findings)

Annotations

Check warning on line 669 in database_client/database_client.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] database_client/database_client.py#L669 <401>

First line should be in imperative mood
Raw output
./database_client/database_client.py:669:1: D401 First line should be in imperative mood

Check warning on line 699 in database_client/database_client.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] database_client/database_client.py#L699 <292>

no newline at end of file
Raw output
./database_client/database_client.py:699:10: W292 no newline at end of file

Check warning on line 272 in database_client/dynamic_query_constructor.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] database_client/dynamic_query_constructor.py#L272 <102>

Missing docstring in public method
Raw output
./database_client/dynamic_query_constructor.py:272:1: D102 Missing docstring in public method

Check failure on line 277 in database_client/dynamic_query_constructor.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] database_client/dynamic_query_constructor.py#L277 <225>

missing whitespace around operator
Raw output
./database_client/dynamic_query_constructor.py:277:9: E225 missing whitespace around operator

Check warning on line 342 in database_client/dynamic_query_constructor.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] database_client/dynamic_query_constructor.py#L342 <391>

blank line at end of file
Raw output
./database_client/dynamic_query_constructor.py:342:1: W391 blank line at end of file

Check warning on line 1 in database_client/result_formatter.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] database_client/result_formatter.py#L1 <100>

Missing docstring in public module
Raw output
./database_client/result_formatter.py:1:1: D100 Missing docstring in public module

Check warning on line 73 in database_client/result_formatter.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] database_client/result_formatter.py#L73 <103>

Missing docstring in public function
Raw output
./database_client/result_formatter.py:73:1: D103 Missing docstring in public function

Check failure on line 73 in database_client/result_formatter.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] database_client/result_formatter.py#L73 <302>

expected 2 blank lines, found 1
Raw output
./database_client/result_formatter.py:73:1: E302 expected 2 blank lines, found 1

Check warning on line 74 in database_client/result_formatter.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] database_client/result_formatter.py#L74 <292>

no newline at end of file
Raw output
./database_client/result_formatter.py:74:51: W292 no newline at end of file

Check warning on line 1 in middleware/search_logic.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] middleware/search_logic.py#L1 <100>

Missing docstring in public module
Raw output
./middleware/search_logic.py:1:1: D100 Missing docstring in public module

Check warning on line 7 in middleware/search_logic.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] middleware/search_logic.py#L7 <401>

'database_client.result_formatter.ResultFormatter' imported but unused
Raw output
./middleware/search_logic.py:7:1: F401 'database_client.result_formatter.ResultFormatter' imported but unused

Check warning on line 11 in middleware/search_logic.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] middleware/search_logic.py#L11 <103>

Missing docstring in public function
Raw output
./middleware/search_logic.py:11:1: D103 Missing docstring in public function

Check warning on line 1 in resources/Search.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] resources/Search.py#L1 <100>

Missing docstring in public module
Raw output
./resources/Search.py:1:1: D100 Missing docstring in public module

Check warning on line 53 in resources/Search.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] resources/Search.py#L53 <205>

1 blank line required between summary line and description
Raw output
./resources/Search.py:53:1: D205 1 blank line required between summary line and description

Check warning on line 53 in resources/Search.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] resources/Search.py#L53 <400>

First line should end with a period
Raw output
./resources/Search.py:53:1: D400 First line should end with a period

Check warning on line 65 in resources/Search.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] resources/Search.py#L65 <401>

First line should be in imperative mood
Raw output
./resources/Search.py:65:1: D401 First line should be in imperative mood

Check warning on line 32 in resources/resource_helpers.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] resources/resource_helpers.py#L32 <103>

Missing docstring in public function
Raw output
./resources/resource_helpers.py:32:1: D103 Missing docstring in public function

Check failure on line 133 in tests/fixtures.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] tests/fixtures.py#L133 <302>

expected 2 blank lines, found 1
Raw output
./tests/fixtures.py:133:1: E302 expected 2 blank lines, found 1

Check warning on line 135 in tests/fixtures.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] tests/fixtures.py#L135 <200>

One-line docstring should fit on one line with quotes
Raw output
./tests/fixtures.py:135:1: D200 One-line docstring should fit on one line with quotes

Check warning on line 135 in tests/fixtures.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] tests/fixtures.py#L135 <401>

First line should be in imperative mood
Raw output
./tests/fixtures.py:135:1: D401 First line should be in imperative mood

Check warning on line 143 in tests/fixtures.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] tests/fixtures.py#L143 <391>

blank line at end of file
Raw output
./tests/fixtures.py:143:1: W391 blank line at end of file

Check warning on line 1 in tests/integration/test_search.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] tests/integration/test_search.py#L1 <100>

Missing docstring in public module
Raw output
./tests/integration/test_search.py:1:1: D100 Missing docstring in public module

Check warning on line 2 in tests/integration/test_search.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] tests/integration/test_search.py#L2 <401>

'tests.fixtures.client_with_db' imported but unused
Raw output
./tests/integration/test_search.py:2:1: F401 'tests.fixtures.client_with_db' imported but unused

Check warning on line 2 in tests/integration/test_search.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] tests/integration/test_search.py#L2 <401>

'tests.fixtures.dev_db_connection' imported but unused
Raw output
./tests/integration/test_search.py:2:1: F401 'tests.fixtures.dev_db_connection' imported but unused

Check warning on line 2 in tests/integration/test_search.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] tests/integration/test_search.py#L2 <401>

'tests.fixtures.bypass_api_required' imported but unused
Raw output
./tests/integration/test_search.py:2:1: F401 'tests.fixtures.bypass_api_required' imported but unused