Skip to content

Remove old bad code #959

Remove old bad code

Remove old bad code #959

Triggered via push January 26, 2024 20:30
Status Success
Total duration 1m 50s
Artifacts

python-app.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 24 warnings
build (ubuntu-latest): src/application.py#L147
E302 expected 2 blank lines, found 1
build (ubuntu-latest): src/application.py#L159
E302 expected 2 blank lines, found 1
build (ubuntu-latest): src/application.py#L186
E501 line too long (104 > 90 characters)
build (ubuntu-latest): src/application.py#L199
E501 line too long (96 > 90 characters)
build (ubuntu-latest): src/application.py#L314
E501 line too long (100 > 90 characters)
build (ubuntu-latest): src/application.py#L316
E501 line too long (96 > 90 characters)
build (ubuntu-latest): src/application.py#L352
E501 line too long (94 > 90 characters)
build (ubuntu-latest): src/application.py#L618
E501 line too long (94 > 90 characters)
build (ubuntu-latest): src/application.py#L769
E501 line too long (93 > 90 characters)
build (ubuntu-latest): src/application.py#L777
E501 line too long (93 > 90 characters)
build (windows-latest): src/application.py#L147
E302 expected 2 blank lines, found 1
build (windows-latest): src/application.py#L159
E302 expected 2 blank lines, found 1
build (windows-latest): src/application.py#L186
E501 line too long (104 > 90 characters)
build (windows-latest): src/application.py#L199
E501 line too long (96 > 90 characters)
build (windows-latest): src/application.py#L314
E501 line too long (100 > 90 characters)
build (windows-latest): src/application.py#L316
E501 line too long (96 > 90 characters)
build (windows-latest): src/application.py#L352
E501 line too long (94 > 90 characters)
build (windows-latest): src/application.py#L618
E501 line too long (94 > 90 characters)
build (windows-latest): src/application.py#L769
E501 line too long (93 > 90 characters)
build (windows-latest): src/application.py#L777
E501 line too long (93 > 90 characters)
build (ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-python@v2, rbialon/flake8-annotations@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (ubuntu-latest): src/application.py#L203
W504 line break after binary operator
build (ubuntu-latest): src/db.py#L2
F401 'sqlalchemy' imported but unused
build (ubuntu-latest): src/tests/test_admin.py#L15
F841 local variable 'admin_api' is assigned to but never used
build (ubuntu-latest): src/tests/test_admin.py#L46
F841 local variable 'user_api' is assigned to but never used
build (ubuntu-latest): src/tests/test_homepage.py#L1
F401 'json' imported but unused
build (ubuntu-latest): src/views/admin.py#L41
W504 line break after binary operator
build (ubuntu-latest): src/views/contest.py#L210
C901 'contest_problem' is too complex (12)
build (ubuntu-latest): src/views/contest.py#L312
C901 'edit_contest_problem' is too complex (12)
build (ubuntu-latest): src/views/contest.py#L538
C901 'contest_add_problem' is too complex (17)
build (ubuntu-latest): src/wsgi.py#L1
F401 'application.app' imported but unused
build (windows-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-python@v2, rbialon/flake8-annotations@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (windows-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (windows-latest): src/application.py#L203
W504 line break after binary operator
build (windows-latest): src/db.py#L2
F401 'sqlalchemy' imported but unused
build (windows-latest): src/tests/test_admin.py#L15
F841 local variable 'admin_api' is assigned to but never used
build (windows-latest): src/tests/test_admin.py#L46
F841 local variable 'user_api' is assigned to but never used
build (windows-latest): src/tests/test_homepage.py#L1
F401 'json' imported but unused
build (windows-latest): src/views/admin.py#L41
W504 line break after binary operator
build (windows-latest): src/views/contest.py#L210
C901 'contest_problem' is too complex (12)
build (windows-latest): src/views/contest.py#L312
C901 'edit_contest_problem' is too complex (12)
build (windows-latest): src/views/contest.py#L538
C901 'contest_add_problem' is too complex (17)
build (windows-latest): src/wsgi.py#L1
F401 'application.app' imported but unused