Skip to content

Merge branch 'dev' into mc_issue_285_refactor_search_tokens #82

Merge branch 'dev' into mc_issue_285_refactor_search_tokens

Merge branch 'dev' into mc_issue_285_refactor_search_tokens #82

GitHub Actions / flake8 completed Jun 2, 2024 in 1s

reviewdog [flake8] report

reported by reviewdog 🐶

Findings (47)

middleware/access_token_logic.py|1 col 1| Missing docstring in public module
middleware/access_token_logic.py|5 col 1| Missing docstring in public function
middleware/access_token_logic.py|9 col 9| f-string is missing placeholders
middleware/data_source_queries.py|4 col 1| 'sqlalchemy.dialects.postgresql.psycopg2' imported but unused
middleware/data_source_queries.py|95 col 1| Missing docstring in public function
middleware/data_source_queries.py|107 col 1| Missing docstring in public function
middleware/data_source_queries.py|116 col 1| Missing docstring in public function
middleware/quick_search_query.py|6 col 1| 'sqlalchemy.dialects.postgresql.psycopg2' imported but unused
middleware/quick_search_query.py|169 col 1| Missing docstring in public function
middleware/quick_search_query.py|180 col 13| line break before binary operator
middleware/quick_search_query.py|181 col 13| line break before binary operator
middleware/quick_search_query.py|182 col 13| line break before binary operator
middleware/quick_search_query.py|183 col 13| line break before binary operator
middleware/quick_search_query.py|184 col 13| line break before binary operator
middleware/token_management.py|1 col 1| Missing docstring in public module
middleware/token_management.py|5 col 1| Missing docstring in public function
middleware/token_management.py|9 col 9| f-string is missing placeholders
middleware/webhook_logic.py|1 col 1| Missing docstring in public module
middleware/webhook_logic.py|1 col 1| 'json' imported but unused
middleware/webhook_logic.py|7 col 1| Missing docstring in public function
resources/SearchTokens.py|1 col 1| Missing docstring in public module
resources/SearchTokens.py|8 col 1| 'flask.make_response' imported but unused
resources/SearchTokens.py|20 col 1| Missing docstring in public class
resources/SearchTokens.py|21 col 1| Missing docstring in init
resources/SearchTokens.py|57 col 1| Missing docstring in public method
tests/resources/test_search_tokens.py|1 col 1| Missing docstring in public module
tests/resources/test_search_tokens.py|10 col 1| Missing docstring in public class
tests/resources/test_search_tokens.py|11 col 1| Missing docstring in public method
tests/resources/test_search_tokens.py|14 col 1| Missing docstring in public method
tests/resources/test_search_tokens.py|17 col 1| Missing docstring in public method
tests/resources/test_search_tokens.py|21 col 1| Missing docstring in public class
tests/resources/test_search_tokens.py|22 col 1| Missing docstring in public method
tests/resources/test_search_tokens.py|22 col 23| Unused argument 'query'
tests/resources/test_search_tokens.py|22 col 30| Unused argument 'params'
tests/resources/test_search_tokens.py|25 col 1| Missing docstring in public method
tests/resources/test_search_tokens.py|30 col 1| Missing docstring in public function
tests/resources/test_search_tokens.py|37 col 1| Missing docstring in public function
tests/resources/test_search_tokens.py|42 col 1| Missing docstring in public function
tests/resources/test_search_tokens.py|47 col 1| Missing docstring in public function
tests/resources/test_search_tokens.py|52 col 1| Missing docstring in public function
tests/resources/test_search_tokens.py|77 col 1| Missing docstring in public function
tests/resources/test_search_tokens.py|106 col 1| Missing docstring in public function
tests/resources/test_search_tokens.py|127 col 1| 1 blank line required between summary line and description
tests/resources/test_search_tokens.py|127 col 1| First line should end with a period
tests/resources/test_search_tokens.py|148 col 1| Missing docstring in public function
tests/resources/test_search_tokens.py|148 col 46| Unused argument 'mocker'
tests/resources/test_search_tokens.py|156 col 1| Missing docstring in public function

Filtered Findings (531)

app.py|1 col 1| Missing docstring in public module
app.py|24 col 1| Missing docstring in public function
app.py|28 col 1| Missing docstring in public function
conftest.py|1 col 1| Missing docstring in public module
conftest.py|17 col 1| Missing docstring in public function
conftest.py|32 col 1| Missing docstring in public function
gunicorn_config.py|1 col 1| Missing docstring in public module
middleware/init.py|1 col 1| Missing docstring in public package
middleware/archives_queries.py|1 col 1| Missing docstring in public module
middleware/archives_queries.py|1 col 1| 'typing.Tuple' imported but unused
middleware/archives_queries.py|15 col 1| First line should end with a period
middleware/archives_queries.py|15 col 1| First line should be in imperative mood
middleware/archives_queries.py|42 col 1| First line should be in imperative mood
middleware/archives_queries.py|62 col 1| First line should be in imperative mood
middleware/archives_queries.py|86 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/data_source_queries.py|1 col 1| Missing docstring in public module
middleware/data_source_queries.py|1 col 1| 'typing.List' imported but unused
middleware/data_source_queries.py|1 col 1| 'typing.Tuple' imported but unused
middleware/data_source_queries.py|130 col 1| First line should be in imperative mood
middleware/data_source_queries.py|178 col 1| First line should end with a period
middleware/data_source_queries.py|178 col 1| First line should be in imperative mood
middleware/data_source_queries.py|203 col 1| First line should be in imperative mood
middleware/data_source_queries.py|240 col 1| One-line docstring should fit on one line with quotes
middleware/data_source_queries.py|240 col 1| First line should end with a period
middleware/data_source_queries.py|240 col 1| First line should be in imperative mood
middleware/data_source_queries.py|264 col 1| One-line docstring should fit on one line with quotes
middleware/data_source_queries.py|264 col 1| First line should end with a period
middleware/data_source_queries.py|264 col 1| First line should be in imperative mood
middleware/data_source_queries.py|299 col 1| 1 blank line required between summary line and description
middleware/data_source_queries.py|299 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|4 col 1| 'typing.Union' imported but unused
middleware/initialize_psycopg2_connection.py|4 col 1| 'typing.Dict' imported but unused
middleware/initialize_psycopg2_connection.py|4 col 1| 'typing.List' imported but unused
middleware/initialize_psycopg2_connection.py|8 col 1| One-line docstring should fit on one line with quotes
middleware/initialize_psycopg2_connection.py|12 col 1| Missing docstring in init
middleware/initialize_psycopg2_connection.py|18 col 1| 1 blank line required between summary line and description
middleware/initialize_psycopg2_connection.py|18 col 1| First line should end with a period
middleware/initialize_psycopg2_connection.py|18 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|2 col 1| 'datetime.datetime as dt' imported but unused
middleware/login_queries.py|14 col 1| First line should be in imperative mood
middleware/login_queries.py|22 col 9| f-string is missing placeholders
middleware/login_queries.py|35 col 1| First line should be in imperative mood
middleware/login_queries.py|42 col 20| f-string is missing placeholders
middleware/login_queries.py|54 col 1| First line should be in imperative mood
middleware/login_queries.py|70 col 9| f-string is missing placeholders
middleware/login_queries.py|81 col 1| First line should be in imperative mood
middleware/login_queries.py|88 col 20| f-string is missing placeholders
middleware/login_queries.py|95 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|3 col 1| 'datetime' imported but unused
middleware/quick_search_query.py|66 col 1| First line should be in imperative mood
middleware/quick_search_query.py|84 col 1| First line should be in imperative mood
middleware/quick_search_query.py|115 col 1| First line should be in imperative mood
middleware/quick_search_query.py|124 col 8| do not compare types, for exact checks use is / is not, for instance checks use isinstance()
middleware/reset_token_queries.py|1 col 1| Missing docstring in public module
middleware/reset_token_queries.py|8 col 1| First line should be in imperative mood
middleware/reset_token_queries.py|16 col 9| f-string is missing placeholders
middleware/reset_token_queries.py|29 col 1| First line should be in imperative mood
middleware/reset_token_queries.py|37 col 9| f-string is missing placeholders
middleware/reset_token_queries.py|44 col 1| First line should be in imperative mood
middleware/reset_token_queries.py|52 col 9| f-string is missing placeholders
middleware/security.py|1 col 1| Missing docstring in public module
middleware/security.py|4 col 1| 'flask.jsonify' imported but unused
middleware/security.py|9 col 1| 'typing.Tuple' imported but unused
middleware/security.py|15 col 1| First line should be in imperative mood
middleware/security.py|72 col 1| 1 blank line required between summary line and description
middleware/security.py|72 col 1| First line should end with a period
middleware/security.py|72 col 1| First line should be in imperative mood; try rephrasing
middleware/user_queries.py|1 col 1| Missing docstring in public module
middleware/user_queries.py|9 col 1| First line should be in imperative mood
middleware/user_queries.py|16 col 20| f-string is missing placeholders
middleware/user_queries.py|24 col 1| First line should be in imperative mood
middleware/user_queries.py|33 col 9| f-string is missing placeholders
regular_api_checks.py|1 col 1| Missing docstring in public module
regular_api_checks.py|12 col 1| Missing docstring in public function
regular_api_checks.py|22 col 1| Missing docstring in public function
regular_api_checks.py|32 col 1| Missing docstring in public function
regular_api_checks.py|42 col 1| Missing docstring in public function
regular_api_checks.py|52 col 1| Missing docstring in public function
regular_api_checks.py|62 col 1| Missing docstring in public function
regular_api_checks.py|73 col 1| Missing docstring in public function
regular_api_checks.py|82 col 1| Missing docstring in public function
regular_api_checks.py|88 col 1| Missing docstring in public function
regular_api_checks.py|95 col 28| comparison to True should be 'if cond is True:' or 'if cond:'
regular_api_checks.py|98 col 1| Missing docstring in public function
regular_api_checks.py|108 col 1| Missing docstring in public function
regular_api_checks.py|114 col 9| line break before binary operator
regular_api_checks.py|118 col 1| Missing docstring in public function
regular_api_checks.py|127 col 1| Missing docstring in public function
regular_api_checks.py|134 col 1| Missing docstring in public function
regular_api_checks.py|140 col 1| Missing docstring in public function
regular_api_checks.py|148 col 1| Missing docstring in public function
regular_api_checks.py|158 col 1| Missing docstring in public function
regular_api_checks.py|169 col 1| Missing docstring in public function
regular_api_checks.py|179 col 1| Missing docstring in public function
regular_api_checks.py|194 col 1| Missing docstring in public function
regular_api_checks.py|210 col 1| Missing docstring in public function
regular_api_checks.py|227 col 1| Missing docstring in public function
regular_api_checks.py|238 col 1| Missing docstring in public function
regular_api_checks.py|244 col 1| Missing docstring in public function
regular_api_checks.py|262 col 1| Missing docstring in public function
regular_api_checks.py|281 col 1| Missing docstring in public function
regular_api_checks.py|287 col 1| Missing docstring in public function
regular_api_checks.py|294 col 1| Missing docstring in public function
regular_api_checks.py|325 col 30| comparison to True should be 'if cond is True:' or 'if cond:'
resources/Agencies.py|1 col 1| Missing docstring in public module
resources/Agencies.py|42 col 1| First line should be in imperative mood
resources/ApiKey.py|1 col 1| Missing docstring in public module
resources/ApiKey.py|15 col 1| First line should be in imperative mood
resources/Archives.py|1 col 1| Missing docstring in public module
resources/Archives.py|16 col 1| One-line docstring should fit on one line with quotes
resources/Archives.py|23 col 1| First line should be in imperative mood
resources/Archives.py|40 col 1| First line should be in imperative mood
resources/DataSources.py|1 col 1| Missing docstring in public module
resources/DataSources.py|18 col 1| 1 blank line required between summary line and description
resources/DataSources.py|26 col 1| First line should be in imperative mood
resources/DataSources.py|40 col 1| First line should be in imperative mood
resources/DataSources.py|63 col 20| do not compare types, for exact checks use is / is not, for instance checks use isinstance()
resources/DataSources.py|84 col 1| 1 blank line required between summary line and description
resources/DataSources.py|92 col 1| First line should be in imperative mood
resources/DataSources.py|103 col 1| First line should be in imperative mood
resources/DataSources.py|125 col 20| do not compare types, for exact checks use is / is not, for instance checks use isinstance()
resources/DataSources.py|144 col 1| Missing docstring in public class
resources/DataSources.py|148 col 1| Missing docstring in public method
resources/DataSources.py|162 col 1| 1 blank line required between summary line and description
resources/DataSources.py|170 col 1| First line should be in imperative mood
resources/Login.py|1 col 1| Missing docstring in public module
resources/Login.py|8 col 1| One-line docstring should fit on one line with quotes
resources/Login.py|14 col 1| 1 blank line required between summary line and description
resources/Login.py|14 col 1| First line should end with a period
resources/Login.py|14 col 1| First line should be in imperative mood
resources/PsycopgResource.py|1 col 1| Missing docstring in public module
resources/PsycopgResource.py|11 col 1| First line should be in imperative mood; try rephrasing
resources/PsycopgResource.py|45 col 1| Missing docstring in public class
resources/PsycopgResource.py|47 col 1| 1 blank line required between summary line and description
resources/PsycopgResource.py|47 col 1| First line should be in imperative mood
resources/QuickSearch.py|1 col 1| Missing docstring in public module
resources/QuickSearch.py|10 col 1| 1 blank line required between summary line and description
resources/QuickSearch.py|10 col 1| First line should end with a period
resources/QuickSearch.py|19 col 1| 1 blank line required between summary line and description
resources/QuickSearch.py|19 col 1| First line should end with a period
resources/QuickSearch.py|19 col 1| First line should be in imperative mood
resources/RefreshSession.py|1 col 1| Missing docstring in public module
resources/RefreshSession.py|11 col 1| 1 blank line required between summary line and description
resources/RefreshSession.py|18 col 1| 1 blank line required between summary line and description
resources/RefreshSession.py|18 col 1| First line should end with a period
resources/RefreshSession.py|18 col 1| First line should be in imperative mood
resources/RequestResetPassword.py|1 col 1| Missing docstring in public module
resources/RequestResetPassword.py|13 col 1| 1 blank line required between summary line and description
resources/RequestResetPassword.py|13 col 1| First line should end with a period
resources/RequestResetPassword.py|20 col 1| 1 blank line required between summary line and description
resources/RequestResetPassword.py|20 col 1| First line should end with a period
resources/RequestResetPassword.py|20 col 1| First line should be in imperative mood
resources/RequestResetPassword.py|31 col 9| local variable 'id' is assigned to but never used
resources/RequestResetPassword.py|37 col 9| local variable 'r' is assigned to but never used
resources/ResetPassword.py|1 col 1| Missing docstring in public module
resources/ResetPassword.py|14 col 1| 1 blank line required between summary line and description
resources/ResetPassword.py|21 col 1| 1 blank line required between summary line and description
resources/ResetPassword.py|21 col 1| First line should end with a period
resources/ResetPassword.py|21 col 1| First line should be in imperative mood
resources/ResetTokenValidation.py|1 col 1| Missing docstring in public module
resources/ResetTokenValidation.py|10 col 1| Missing docstring in public class
resources/ResetTokenValidation.py|13 col 1| Missing docstring in public method
resources/SearchTokens.py|27 col 1| 1 blank line required between summary line and description
resources/SearchTokens.py|34 col 1| First line should be in imperative mood
resources/User.py|1 col 1| Missing docstring in public module
resources/User.py|11 col 1| One-line docstring should fit on one line with quotes
resources/User.py|17 col 1| First line should be in imperative mood
resources/User.py|39 col 1| First line should be in imperative mood
resources/init.py|1 col 1| Missing docstring in public package
tests/init.py|1 col 1| Missing docstring in public package
tests/fixtures.py|9 col 1| 'flask.testing.FlaskClient' imported but unused
tests/fixtures.py|84 col 1| expected 2 blank lines after class or function definition, found 1
tests/fixtures.py|85 col 1| expected 2 blank lines, found 0
tests/fixtures.py|87 col 1| 1 blank line required between summary line and description
tests/fixtures.py|87 col 1| First line should end with a period
tests/fixtures.py|97 col 1| expected 2 blank lines, found 1
tests/fixtures.py|99 col 1| 1 blank line required between summary line and description
tests/fixtures.py|99 col 1| First line should end with a period
tests/fixtures.py|99 col 1| First line should be in imperative mood
tests/fixtures.py|106 col 21| no newline at end of file
tests/helper_functions.py|5 col 1| 'datetime.datetime' imported but unused
tests/helper_functions.py|5 col 1| 'datetime.timedelta' imported but unused
tests/helper_functions.py|177 col 1| First line should be in imperative mood
tests/helper_functions.py|193 col 1| 1 blank line required between summary line and description
tests/helper_functions.py|193 col 1| First line should end with a period
tests/helper_functions.py|211 col 1| 1 blank line required between summary line and description
tests/helper_functions.py|211 col 1| First line should end with a period
tests/helper_functions.py|228 col 1| 1 blank line required between summary line and description
tests/helper_functions.py|228 col 1| First line should end with a period
tests/helper_functions.py|244 col 1| 1 blank line required between summary line and description
tests/helper_functions.py|244 col 1| First line should end with a period
tests/helper_functions.py|261 col 1| 1 blank line required between summary line and description
tests/helper_functions.py|261 col 1| First line should end with a period
tests/helper_functions.py|276 col 1| 1 blank line required between summary line and description
tests/helper_functions.py|276 col 1| First line should end with a period
tests/helper_functions.py|306 col 1| 1 blank line required between summary line and description
tests/helper_functions.py|323 col 1| Missing docstring in public function
tests/helper_functions.py|323 col 1| expected 2 blank lines, found 1
tests/helper_functions.py|324 col 131| no newline at end of file
tests/integration/init.py|1 col 1| Missing docstring in public package
tests/integration/test_agencies.py|1 col 1| First line should end with a period
tests/integration/test_agencies.py|3 col 1| 'pytest' imported but unused
tests/integration/test_agencies.py|4 col 1| 'tests.fixtures.connection_with_test_data' imported but unused
tests/integration/test_agencies.py|4 col 1| 'tests.fixtures.dev_db_connection' imported but unused
tests/integration/test_agencies.py|4 col 1| 'tests.fixtures.client_with_db' imported but unused
tests/integration/test_agencies.py|9 col 5| redefinition of unused 'client_with_db' from line 4
tests/integration/test_agencies.py|9 col 21| Unused argument 'dev_db_connection'
tests/integration/test_agencies.py|9 col 21| redefinition of unused 'dev_db_connection' from line 4
tests/integration/test_agencies.py|11 col 1| One-line docstring should fit on one line with quotes
tests/integration/test_agencies.py|11 col 1| No blank lines allowed after function docstring
tests/integration/test_agencies.py|11 col 1| First line should end with a period
tests/integration/test_agencies.py|23 col 1| blank line at end of file
tests/integration/test_api_key.py|1 col 1| First line should end with a period
tests/integration/test_api_key.py|3 col 1| 'uuid' imported but unused
tests/integration/test_api_key.py|7 col 1| 'tests.fixtures.dev_db_connection' imported but unused
tests/integration/test_api_key.py|7 col 1| 'tests.fixtures.client_with_db' imported but unused
tests/integration/test_api_key.py|11 col 22| redefinition of unused 'client_with_db' from line 7
tests/integration/test_api_key.py|11 col 38| redefinition of unused 'dev_db_connection' from line 7
tests/integration/test_api_key.py|12 col 1| One-line docstring should fit on one line with quotes
tests/integration/test_api_key.py|12 col 1| No blank lines allowed after function docstring
tests/integration/test_api_key.py|12 col 1| First line should end with a period
tests/integration/test_archives.py|1 col 1| First line should end with a period
tests/integration/test_archives.py|8 col 1| 'tests.fixtures.dev_db_connection' imported but unused
tests/integration/test_archives.py|8 col 1| 'tests.fixtures.client_with_db' imported but unused
... (Too many findings. Dropped some findings)

Annotations

Check warning on line 1 in middleware/access_token_logic.py

See this annotation in the file changed.

@github-actions github-actions / flake8

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

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

Check warning on line 5 in middleware/access_token_logic.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] middleware/access_token_logic.py#L5 <103>

Missing docstring in public function
Raw output
./middleware/access_token_logic.py:5:1: D103 Missing docstring in public function

Check warning on line 9 in middleware/access_token_logic.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] middleware/access_token_logic.py#L9 <541>

f-string is missing placeholders
Raw output
./middleware/access_token_logic.py:9:9: F541 f-string is missing placeholders

Check warning on line 4 in middleware/data_source_queries.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] middleware/data_source_queries.py#L4 <401>

'sqlalchemy.dialects.postgresql.psycopg2' imported but unused
Raw output
./middleware/data_source_queries.py:4:1: F401 'sqlalchemy.dialects.postgresql.psycopg2' imported but unused

Check warning on line 95 in middleware/data_source_queries.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] middleware/data_source_queries.py#L95 <103>

Missing docstring in public function
Raw output
./middleware/data_source_queries.py:95:1: D103 Missing docstring in public function

Check warning on line 107 in middleware/data_source_queries.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] middleware/data_source_queries.py#L107 <103>

Missing docstring in public function
Raw output
./middleware/data_source_queries.py:107:1: D103 Missing docstring in public function

Check warning on line 116 in middleware/data_source_queries.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] middleware/data_source_queries.py#L116 <103>

Missing docstring in public function
Raw output
./middleware/data_source_queries.py:116:1: D103 Missing docstring in public function

Check warning on line 6 in middleware/quick_search_query.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] middleware/quick_search_query.py#L6 <401>

'sqlalchemy.dialects.postgresql.psycopg2' imported but unused
Raw output
./middleware/quick_search_query.py:6:1: F401 'sqlalchemy.dialects.postgresql.psycopg2' imported but unused

Check warning on line 169 in middleware/quick_search_query.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] middleware/quick_search_query.py#L169 <103>

Missing docstring in public function
Raw output
./middleware/quick_search_query.py:169:1: D103 Missing docstring in public function

Check warning on line 180 in middleware/quick_search_query.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] middleware/quick_search_query.py#L180 <503>

line break before binary operator
Raw output
./middleware/quick_search_query.py:180:13: W503 line break before binary operator

Check warning on line 181 in middleware/quick_search_query.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] middleware/quick_search_query.py#L181 <503>

line break before binary operator
Raw output
./middleware/quick_search_query.py:181:13: W503 line break before binary operator

Check warning on line 182 in middleware/quick_search_query.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] middleware/quick_search_query.py#L182 <503>

line break before binary operator
Raw output
./middleware/quick_search_query.py:182:13: W503 line break before binary operator

Check warning on line 183 in middleware/quick_search_query.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] middleware/quick_search_query.py#L183 <503>

line break before binary operator
Raw output
./middleware/quick_search_query.py:183:13: W503 line break before binary operator

Check warning on line 184 in middleware/quick_search_query.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] middleware/quick_search_query.py#L184 <503>

line break before binary operator
Raw output
./middleware/quick_search_query.py:184:13: W503 line break before binary operator

Check warning on line 1 in middleware/token_management.py

See this annotation in the file changed.

@github-actions github-actions / flake8

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

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

Check warning on line 5 in middleware/token_management.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] middleware/token_management.py#L5 <103>

Missing docstring in public function
Raw output
./middleware/token_management.py:5:1: D103 Missing docstring in public function

Check warning on line 9 in middleware/token_management.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] middleware/token_management.py#L9 <541>

f-string is missing placeholders
Raw output
./middleware/token_management.py:9:9: F541 f-string is missing placeholders

Check warning on line 1 in middleware/webhook_logic.py

See this annotation in the file changed.

@github-actions github-actions / flake8

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

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

Check warning on line 1 in middleware/webhook_logic.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] middleware/webhook_logic.py#L1 <401>

'json' imported but unused
Raw output
./middleware/webhook_logic.py:1:1: F401 'json' imported but unused

Check warning on line 7 in middleware/webhook_logic.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] middleware/webhook_logic.py#L7 <103>

Missing docstring in public function
Raw output
./middleware/webhook_logic.py:7:1: D103 Missing docstring in public function

Check warning on line 1 in resources/SearchTokens.py

See this annotation in the file changed.

@github-actions github-actions / flake8

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

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

Check warning on line 8 in resources/SearchTokens.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] resources/SearchTokens.py#L8 <401>

'flask.make_response' imported but unused
Raw output
./resources/SearchTokens.py:8:1: F401 'flask.make_response' imported but unused

Check warning on line 20 in resources/SearchTokens.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] resources/SearchTokens.py#L20 <101>

Missing docstring in public class
Raw output
./resources/SearchTokens.py:20:1: D101 Missing docstring in public class

Check warning on line 21 in resources/SearchTokens.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] resources/SearchTokens.py#L21 <107>

Missing docstring in __init__
Raw output
./resources/SearchTokens.py:21:1: D107 Missing docstring in __init__

Check warning on line 57 in resources/SearchTokens.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] resources/SearchTokens.py#L57 <102>

Missing docstring in public method
Raw output
./resources/SearchTokens.py:57:1: D102 Missing docstring in public method