Mofmt

Latest version: v0.3.6

Safety actively analyzes 624735 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.3.6

Bugfixes and performance improvements.

Changed

- Improve the performance up to 50%

Fixed

- Remove the false syntax error caused by two comments separated with a blank line

0.3.5

Fixed

- Fix the issue with increasing indentation in expressions that are wrapped multiple times
- Remove unnecessary whitespaces inserted before matrices in function arguments
- Correct indentation in if-expressions

0.3.4

Added

- Add CLI options to print help message and `mofmt` version number

Fixed

- Remove the parsing error when parsing function calls with mixed
positional and named arguments

0.3.3

Fixed

- Fix increased indentation and empty lines in wrapped matrices
- Fix additional spaces placed in lines before type specifiers that use
global paths

0.3.2

Fixed

- Fix line wrapping at inheritance modifiers (`break` statements inside `extends` clauses)
- Fix missing whitespaces before type specifiers that use global paths (starts with a dot)
- Fix errors caused by quoted identifiers containing spaces and double quotes

0.3.1

Fixed

- Fix line wrapping inside external function calls and matrix rows

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.