Commit Graph
11 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 1a5c9d3af8 Roll symbols.utility into symbols file until we get enough functions we need to split them out again. 2018-12-12 23:38:01 +00:00
Mike Auty 77a894b224 Convert 64bit checks to a symbol utility function. 2018-10-03 23:36:28 +01:00
Michael Lighandikelos 6862573734 only ask for the requirements that we need 2018-08-29 15:10:46 +01:00
Michael Lighandikelos 617510f6d6 change how we iterate through the symbol_generator results 2018-08-29 15:10:46 +01:00
Michael Lighandikelos ea63c7e80e define a find_address() method for consistent behavior for 32 and 64-bit systems 2018-08-29 15:10:46 +01:00
Michael Lighandikelos 45ea3437f1 explicitly list the nt_symbols requirement 2018-08-29 15:10:46 +01:00
Michael Lighandikelos 13e5145e46 use from ... import ... statements 2018-08-29 15:10:46 +01:00
Michael Lighandikelos 34bb059cfe add the ssdt plugin for windows 2018-08-29 15:10:46 +01:00