Skip to content

add logic for both cms < 4.1 and cms > 4.1 in test_admin #189

add logic for both cms < 4.1 and cms > 4.1 in test_admin

add logic for both cms < 4.1 and cms > 4.1 in test_admin #189

Triggered via push October 30, 2024 01:28
Status Failure
Total duration 18s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 6 warnings
isort: tests/test_admin.py#L1
Imports are incorrectly sorted and/or formatted.
isort: djangocms_navigation/views.py#L1
Imports are incorrectly sorted and/or formatted.
isort: djangocms_navigation/admin.py#L1
Imports are incorrectly sorted and/or formatted.
isort: djangocms_navigation/compat.py#L1
Imports are incorrectly sorted and/or formatted.
isort
The process '/opt/hostedtoolcache/Python/3.9.20/x64/bin/isort' failed with exit code 1
flake8: tests/test_utils.py#L18
'djangocms_navigation.compat.CMS_41' imported but unused
flake8: tests/test_views.py#L303
line too long (152 > 120 characters)
flake8: tests/test_views.py#L353
line too long (129 > 120 characters)
flake8
The process '/opt/hostedtoolcache/Python/3.9.20/x64/bin/flake8' failed with exit code 1
isort
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v2, liskin/gh-problem-matcher-wrap@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
isort
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-python@v2, liskin/gh-problem-matcher-wrap@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
flake8
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v2, liskin/gh-problem-matcher-wrap@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
flake8
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-python@v2, liskin/gh-problem-matcher-wrap@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
flake8: djangocms_navigation/test_utils/factories.py#L129
blank line contains whitespace
flake8: djangocms_navigation/utils.py#L102
trailing whitespace