Mark Mayo

Results 44 issues of Mark Mayo

I'm attempting to run the unit tests before I consider playing with making some changes - gotta at least get those running! However, when I run I get an issue...

dependencies

Some more pylint stuff, cleaning up unnecessarily complex if/elif/else branches, and overly complex boolean / instance comparisons. Hope it helps. I'm unsure how to trigger the code coverage you did...

### Describe your change: places where cleaner code is better (pylint identified) simplifying return (bools) replace type with isinstance ### Checklist: * [X] I have read [CONTRIBUTING.md](https://github.com/TheAlgorithms/Python/blob/master/CONTRIBUTING.md). * [ X]...

enhancement
tests are failing

- sorted imports with isort - removed inherits of object - no need to prefix strings with u - tidied whitespace/indents/newlines

- remove unnecessary inherits from object - no need to super(..., self) for init - remove strings prefixed with u for python 3 remove whitespace and fix newlines tidy indentation...

Python 3 changes, simplifications and updates for standard

- cleaned up imports - added 3, 3.5, 3.6+ trailing commas - tidied whitespace - formatted with black

- converted some format strings to f-strings - rephrased imports - removed unnecessary brackets - replaced type() with faster isinstance() - included optional parameter maxsplit in split commands

backend

### F-string updates from format strings, as well as cleanup / sorting order of imports ### Before submitting a *pull request* make sure you have: - [X ] At least...

docs/meta/cleanup
pending-fixes

- python 3 can discard the (object) inheritance - u-prefix for strings no longer required - imports tidied and reduced ,sorted - loads of strings converted to f-strings - in...