Commit Graph
16 Commits
Author SHA1 Message Date
Mike Auty 9824538bd9 Numerous pycharm warnings resolved
This includes:

* Better ways of checking empty lists
* Not shadowing builtin functions like filter
* Preventing invalid slash warnings by marking strings as regexps
* Removing unnecessary brackets
* Lowercase variable names
* Adding/updating parameters in docstrings
* Removing unused code (lines not chunks)
* Change in not a member tests
* Changing some methods to static
* Shorting range membership checks
* Missing parameters
* Make some exception handlers more specific
* Don't define a lambda to a variable
* A few more instance checks to help type checkers
2018-12-16 13:21:06 +00:00
Mike Auty 29d41470a4 Mass reformat of typing imports
Relented on the strict import of direct objects/classes for the typing
module only.  Typing module components can be directly imported because
it makes the code really painful to read and write otherwise.

This is still in-line with the python style guide adopted from Google at
http://google.github.io/styleguide/pyguide.html section 2.2.
2018-12-16 13:04:22 +00:00
Mike Auty dfe2f86fe2 Lots and lots of typing additions found by an initial monkeytype run. 2018-12-13 23:46:37 +00:00
Mike Auty db7320e426 Bulk lint and a couple of typos fixed. 2018-11-08 00:19:17 +00:00
Andrew Caseandikelos 7aa729f4b7 add typing import to pslist 2018-11-08 00:19:17 +00:00
Andrew Caseandikelos 98e472e211 major updates and new plugins 2018-11-08 00:19:17 +00:00
Mike Auty d68d62e47d Fix methodclass conversion for linux pslist. 2018-06-20 22:19:24 +01:00
Mike Auty ac8401991c Convert all remaining plugins to use the new classmethod pslist. 2018-06-16 13:38:48 +01:00
Mike Auty 38eff91371 Remove vestigal update_configuration methods. 2018-05-06 01:24:40 +01:00
Mike Auty 60e1aebaf8 Improve the plugin help descriptions. 2017-11-25 16:19:47 +00:00
Mike Auty a60fcba32f Make sure we don't assume that the primary layer's config lives under our own. 2017-11-13 01:18:54 +00:00
Mike Auty 6c6d0473a1 Fixed table names will no longer work since tables are prefix-named. 2017-09-03 23:17:40 +01:00
Mike Auty 710043f508 Fix up the ASLR finding to compensate for older task_struct structures. 2017-09-03 23:16:22 +01:00
Mike Auty c19ad1cb22 Placeholder change to ensure even if we don't change it to a from statement, it isn't bizarre. 2017-08-10 10:03:39 +01:00
Mike Auty 8be6869a84 Tidy up imports and adhere to the coding style of never directly importing objects. 2017-08-09 22:22:43 +01:00
Nick L. Petroni, Jr 8fcbf988b5 initial linux.pslist.PsList plugin 2017-05-14 22:24:05 -04:00