add back in more checks for ruff #6
lint.yml
on: push
Lint Python code with ruff
8s
Annotations
10 errors
Ruff (E722):
nxc/modules/appcmd.py#L41
nxc/modules/appcmd.py:41:9: E722 Do not use bare `except`
|
Ruff (E721):
nxc/modules/hash_spider.py#L116
nxc/modules/hash_spider.py:116:32: E721 Do not compare types, use `isinstance()`
|
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 (F405):
nxc/modules/ms17-010.py#L28
nxc/modules/ms17-010.py:28:18: F405 `Structure` may be undefined, or defined from star imports
|
Ruff (F405):
nxc/modules/ms17-010.py#L34
nxc/modules/ms17-010.py:34:30: F405 `c_uint32` may be undefined, or defined from star imports
|
Ruff (F405):
nxc/modules/ms17-010.py#L35
nxc/modules/ms17-010.py:35:25: F405 `c_uint8` may be undefined, or defined from star imports
|
Ruff (F405):
nxc/modules/ms17-010.py#L36
nxc/modules/ms17-010.py:36:25: F405 `c_uint8` may be undefined, or defined from star imports
|
Ruff (F405):
nxc/modules/ms17-010.py#L37
nxc/modules/ms17-010.py:37:23: F405 `c_uint8` may be undefined, or defined from star imports
|
Ruff (F405):
nxc/modules/ms17-010.py#L38
nxc/modules/ms17-010.py:38:24: F405 `c_uint16` may be undefined, or defined from star imports
|
Ruff (F405):
nxc/modules/ms17-010.py#L39
nxc/modules/ms17-010.py:39:19: F405 `c_uint8` may be undefined, or defined from star imports
|