fix ignore rule (E->F) #11
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
lint.yml
on: push
Lint Python code with ruff
6s
Annotations
10 errors
Ruff (F841):
nxc/modules/appcmd.py#L37
nxc/modules/appcmd.py:37:29: F841 Local variable `e` is assigned to but never used
|
Ruff (F403):
nxc/modules/ms17-010.py#L7
nxc/modules/ms17-010.py:7:1: F403 `from ctypes import *` used; unable to detect undefined names
|
Ruff (F841):
nxc/modules/ms17-010.py#L401
nxc/modules/ms17-010.py:401:9: F841 Local variable `native_os` is assigned to but never used
|
Ruff (F841):
nxc/modules/ms17-010.py#L422
nxc/modules/ms17-010.py:422:9: F841 Local variable `netbios` is assigned to but never used
|
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`
|