Skip to content

add F841 (variable assigned but never used) to ruff exclude #13

add F841 (variable assigned but never used) to ruff exclude

add F841 (variable assigned but never used) to ruff exclude #13

Triggered via push September 22, 2023 18:56
Status Failure
Total duration 13s
Artifacts

lint.yml

on: push
Lint Python code with ruff
5s
Lint Python code with ruff
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (E722): nxc/modules/ntdsutil.py#L134
nxc/modules/ntdsutil.py:134:17: E722 Do not use bare `except`
Ruff (E722): nxc/modules/rdp.py#L62
nxc/modules/rdp.py:62:13: E722 Do not use bare `except`
Ruff (E722): nxc/modules/rdp.py#L153
nxc/modules/rdp.py:153:9: E722 Do not use bare `except`
Ruff (E722): nxc/modules/rdp.py#L188
nxc/modules/rdp.py:188:9: E722 Do not use bare `except`
Ruff (E722): nxc/modules/reg-query.py#L66
nxc/modules/reg-query.py:66:21: E722 Do not use bare `except`
Ruff (E722): nxc/modules/reg-query.py#L115
nxc/modules/reg-query.py:115:17: E722 Do not use bare `except`
Ruff (E722): nxc/modules/reg-query.py#L138
nxc/modules/reg-query.py:138:17: E722 Do not use bare `except`
Ruff (E722): nxc/modules/reg-query.py#L153
nxc/modules/reg-query.py:153:17: E722 Do not use bare `except`
Ruff (F403): nxc/modules/wcc.py#L15
nxc/modules/wcc.py:15:1: F403 `from impacket.system_errors import *` used; unable to detect undefined names
Ruff (E721): nxc/modules/wcc.py#L476
nxc/modules/wcc.py:476:16: E721 Do not compare types, use `isinstance()`