Alexander Neff
|
b33f67792d
|
Simplify code and remove unused variables
|
2023-10-15 20:35:45 +02:00 |
Alexander Neff
|
052bfa3c1a
|
Resolve merge conflicts
|
2023-10-15 20:23:12 +02:00 |
Marshall Hallenbeck
|
e77ecd31bd
|
ruff: add F841 back in and auto-fix
|
2023-10-15 13:31:51 -04:00 |
Alexander Neff
|
e672dce25f
|
Convert for loops into list comprehensions
|
2023-10-15 19:21:14 +02:00 |
Alexander Neff
|
2391d1d5ba
|
Fix poetry.lock file
|
2023-10-15 18:24:29 +02:00 |
Alexander Neff
|
dbc1feeadd
|
Replace for loops with list comprehensions
|
2023-10-15 18:24:09 +02:00 |
Marshall Hallenbeck
|
e043e0704e
|
refactor: list comprehension, better header skip, and update docstring
|
2023-10-15 07:28:58 -04:00 |
Marshall Hallenbeck
|
44b0619f44
|
refactor: list comprehension
|
2023-10-15 07:28:37 -04:00 |
Marshall Hallenbeck
|
6841537347
|
refactor(daclread): add additional debug, update docstrings, refactor to use list comprehension
|
2023-10-15 07:18:21 -04:00 |
Marshall Hallenbeck
|
a90898dba6
|
refactor: use list comprehension
|
2023-10-15 06:56:43 -04:00 |
Marshall Hallenbeck
|
528248dd31
|
refactor(samrfunc): use list/dict comprehension
|
2023-10-15 06:56:21 -04:00 |
Marshall Hallenbeck
|
94b515bfeb
|
ruff: ignore PERF203 - only for pre-3.11 and may cause issues if refactored
|
2023-10-15 06:50:06 -04:00 |
Marshall Hallenbeck
|
fd433b1227
|
update logging string
|
2023-10-15 06:49:41 -04:00 |
Marshall Hallenbeck
|
8c73dec431
|
refactor(wmi): fix try except in forloop, add docstring, fix wql variable, and update logging to not cast
|
2023-10-15 06:41:54 -04:00 |
Marshall Hallenbeck
|
b3ea011d3b
|
remove string import
|
2023-10-15 06:30:52 -04:00 |
Marshall Hallenbeck
|
cd3f3e9347
|
refactor: reference ascii_lowercase directly
|
2023-10-15 06:30:29 -04:00 |
Marshall Hallenbeck
|
3e056659d8
|
refactor: use list comprehension for domains retrieved - PERF401
|
2023-10-14 22:16:59 -04:00 |
Marshall Hallenbeck
|
467882a759
|
refactor: move try except outside forloops - PERF203
|
2023-10-14 22:15:24 -04:00 |
Marshall Hallenbeck
|
bc0254d97e
|
refactor: clean up parse_perms logic
|
2023-10-14 22:13:03 -04:00 |
Marshall Hallenbeck
|
5b5ed0c880
|
refactor: improve character randomization
|
2023-10-14 21:58:06 -04:00 |
Marshall Hallenbeck
|
f1af5b8959
|
ruff: run previously unincluded PIE790 fixes in ruff 0.0.292
|
2023-10-14 21:53:46 -04:00 |
Marshall Hallenbeck
|
0cb67d3016
|
ruff: add PERF
|
2023-10-14 21:53:23 -04:00 |
Marshall Hallenbeck
|
59767febce
|
refactor: move try outside forloop
|
2023-10-14 21:53:06 -04:00 |
Marshall Hallenbeck
|
201b3285c4
|
ruff: pin 292 version since older versions dont display all checks
|
2023-10-14 21:50:48 -04:00 |
Marshall Hallenbeck
|
2b34359103
|
ruff: add ERA001 ignores
|
2023-10-14 18:42:10 -04:00 |
Marshall Hallenbeck
|
6fae02aee0
|
ruff: add flynt (FLY) and auto-fix
|
2023-10-14 18:41:08 -04:00 |
Marshall Hallenbeck
|
847f8493ee
|
ruff: remove Pylint from ruff
|
2023-10-14 18:39:05 -04:00 |
Marshall Hallenbeck
|
21a8707e9e
|
ruff: add Pylint (PL) and auto-run
|
2023-10-14 18:36:20 -04:00 |
Marshall Hallenbeck
|
82e5d78007
|
ruff: eradicate commented out code
|
2023-10-14 18:34:09 -04:00 |
Marshall Hallenbeck
|
b4475f467b
|
ruff: add eradicate (ERA)
|
2023-10-14 18:33:57 -04:00 |
Marshall Hallenbeck
|
378f66087d
|
ruff: add flake8-tidy-imports (TID)
|
2023-10-14 18:27:07 -04:00 |
Marshall Hallenbeck
|
adeddb756e
|
refactor remaining flake8-simplify (SIM) issues
|
2023-10-14 18:26:24 -04:00 |
Marshall Hallenbeck
|
cd1b4680ab
|
refactor: simplify logic
|
2023-10-14 18:13:37 -04:00 |
Marshall Hallenbeck
|
c1585a5609
|
refactor: simplify logic again
|
2023-10-14 18:11:06 -04:00 |
Marshall Hallenbeck
|
53af86a557
|
refactor: use with open for file writing
|
2023-10-14 18:08:43 -04:00 |
Marshall Hallenbeck
|
e03e3a105d
|
refactor: use with open for file opening
|
2023-10-14 17:57:35 -04:00 |
Marshall Hallenbeck
|
3a27363c35
|
refactor: use with for file open
|
2023-10-14 17:53:01 -04:00 |
Marshall Hallenbeck
|
c9b325a80c
|
refactor: update if logic
|
2023-10-14 17:48:05 -04:00 |
Marshall Hallenbeck
|
7a8756d692
|
add noqa for SIM115
|
2023-10-14 17:47:51 -04:00 |
Marshall Hallenbeck
|
4d2ab762bd
|
refactor: simplify logic
|
2023-10-14 17:44:52 -04:00 |
Marshall Hallenbeck
|
f3a358fd82
|
simplify logic and add additional debug statements
|
2023-10-14 17:36:47 -04:00 |
Marshall Hallenbeck
|
276e6c7d59
|
fix(tests): properly reference test passwords file
|
2023-10-14 16:32:24 -04:00 |
Marshall Hallenbeck
|
39b0ca68a3
|
fix: ftp proto name
|
2023-10-14 16:28:26 -04:00 |
Marshall Hallenbeck
|
cdc8bdbc77
|
fix: remove extra param added erroneously
|
2023-10-14 15:56:34 -04:00 |
Marshall Hallenbeck
|
d8b29312b7
|
ruff: add flake8-simplify (SIM) and auto-fix
|
2023-10-14 15:56:22 -04:00 |
Marshall Hallenbeck
|
cf637968fe
|
fix: ftp class name
|
2023-10-14 15:52:55 -04:00 |
Marshall Hallenbeck
|
9a4dbf15cf
|
tests: add --poetry parameter to prepend 'poetry run' before commands
|
2023-10-14 14:29:01 -04:00 |
Marshall Hallenbeck
|
8f5e74240f
|
ruff: exclude RET505-508
|
2023-10-14 14:19:23 -04:00 |
Marshall Hallenbeck
|
cdcde5a91b
|
ruff: add flake8-return (RET) and auto-run
|
2023-10-14 14:16:28 -04:00 |
Marshall Hallenbeck
|
781afc9c65
|
ruff: add flake8-raise (RSE) and auto-run
|
2023-10-13 15:27:34 -04:00 |