fix: replace is_safe_url
with url_has_allowed_host_and_scheme
due…
#4
Annotations
11 errors and 6 warnings
flake8:
djangocms_moderation/admin.py#L84
too many blank lines (2)
|
flake8:
djangocms_moderation/admin.py#L105
too many blank lines (2)
|
flake8:
djangocms_moderation/admin.py#L196
too many blank lines (2)
|
flake8:
djangocms_moderation/admin.py#L276
too many blank lines (2)
|
flake8:
djangocms_moderation/admin.py#L940
too many blank lines (2)
|
flake8:
djangocms_moderation/admin.py#L1081
too many blank lines (2)
|
flake8:
djangocms_moderation/admin.py#L1221
too many blank lines (2)
|
flake8:
djangocms_moderation/admin.py#L1228
too many blank lines (2)
|
flake8
The process '/opt/hostedtoolcache/Python/3.9.18/x64/bin/flake8' failed with exit code 1
|
isort:
djangocms_moderation/admin.py#L1
Imports are incorrectly sorted and/or formatted.
|
isort
The process '/opt/hostedtoolcache/Python/3.9.18/x64/bin/isort' failed with exit code 1
|
flake8
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: liskin/gh-problem-matcher-wrap@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
flake8
The following actions uses node12 which is deprecated and will be forced to run on node16: 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:
djangocms_moderation/__init__.py#L2
blank line at end of file
|
flake8:
djangocms_moderation/admin.py#L1243
blank line at end of file
|
isort
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: liskin/gh-problem-matcher-wrap@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
isort
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
|