aboutsummaryrefslogtreecommitdiff
path: root/src/utils/__init__.py
Commit message (Expand)AuthorAgeFilesLines
* Fix some non-explicit None returns, add type hints to important variablesGravatar jesopo2018-10-311-0/+3
* Fix/refactor issues brought up by type hint lintingGravatar jesopo2018-10-301-3/+3
* Add type/return hints throughout src/ and, in doing so, fix some cyclical•••references. Gravatar jesopo2018-10-301-89/+34
* Typo in utils.parse_docstring, 'multiple_items' -> 'var_items'Gravatar jesopo2018-10-281-1/+1
* Support multiple items for docstring kwargs in utils.parse_docstringGravatar jesopo2018-10-281-3/+11
* Standardise "Failed to load results" errors!Gravatar jesopo2018-10-201-0/+3
* Add utils.EventError, utilise it for stderr in commands.py/coins.pyGravatar jesopo2018-10-161-0/+3
* Use decimal.Decimal in utils.parse_numberGravatar jesopo2018-10-121-9/+12
* Actually pass format args to ValueErrors in utils.parse_numberGravatar jesopo2018-10-121-2/+2
* int(number) after we've checked .isdigit() in utils.parse_numberGravatar jesopo2018-10-121-0/+1
* Add utils.parse_number, to turn 1k/1m/1b in to 1_000/1_000_000/1_000_000_000Gravatar jesopo2018-10-121-0/+19
* Support multiple types of comments in utils.get_hashflagsGravatar jesopo2018-10-071-3/+11
* Typo in utils, 'line.replace[3:]' -> 'line[3:]'Gravatar jesopo2018-10-041-1/+1
* Checking for the presence of the seperator in the return from .partition is a•••more "correct" way of doing this Gravatar jesopo2018-10-041-2/+2
* Non-present hashflag values should be None, not empty stringGravatar jesopo2018-10-041-1/+1
* Simplify hashflag parsingGravatar jesopo2018-10-041-6/+1
* Move 'top 10' logic to utils, add !wordiest to modules/words.pyGravatar jesopo2018-10-041-0/+11
* Use docstring key, not value, as a key.Gravatar jesopo2018-10-031-3/+3
* Move src/Utils.py in to src/utils/, splitting functionality out in to modules of•••related functionality Gravatar jesopo2018-10-031-0/+173