Yasi

Latest version: v2.1.2

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

Scan your dependencies

Page 1 of 4

2.1.0

Features:

- Flag for processing files in parallel(`--parallel`), [3][1]

Fixes:

- Hash quoted expressions being indented like literal lists
- Conjoining of *newLISP* tag and brace strings with function when compacted, e.g
`(regex {abc{1,2}} line)` becomes `(regex{abc{1,2}} line)`

Misc:

- Drop Python 2.6 support
- Support tilded paths in Windows

2.0.1

Fixes:

- Indent function specially only in binding vector in Clojure `letfn`

2.0.0

Features:

- Indentation state is now returned in a dictionary instead of list which breaks
any existing scripts that use the `indent_code` function

1.2.1

Fixes:

- **yasi.lsp**
+ Local functions in Clojure `letfn` construct not being indented the right way
+ Dialect detection by file extension not working properly

- **yasi.py**
+ Defaults to plain diff output when colorama is not installed. Prevents import
errors when used as a module in Sublime text plugin where non-standard
packages through pip are not supported
+ Made runnable in embedded interpreters where sys.argv doesn't exist e.g. as a
sublime text plugin
+ Local functions in Clojure `letfn` construct not being indented the right way
+ Dialect detection by file extension not working properly

1.2.0

Features:

- **yasi.py**
+ **--suffix** option for specifying backup file suffix
+ The zero level of the first block doesn't define that of the rest of the code.
Other blocks can start at different columns
+ Indentation with tabs now supported by specifying tab width using the **--tabs**
commandline argument

- **yasi.lsp**
+ **--suffix** option for specifying backup file suffix
+ The zero level of the first block doesn't define that of the rest of the code.
Other blocks can start at different columns
+ Indentation with tabs now supported by specifying tab width using the **--tabs**
commandline argument

Fixes:

- **yasi.py**
+ Backup being ran on the already modified file
+ *newLISP* comments starting with hash(``) being evaluated
+ Space before comment decreasing by a single character on re-indentation
+ Error due to unsupported keyword argument in python 2.6

- **yasi.lsp**
+ Backup being ran on the already modified file
+ *newLISP* comments starting with hash(``) being evaluated
+ Space before comment decreasing by a single character on re-indentation
+ **--no-output** option not being parsed properly, affecting compact setting

1.1.2

Fixes:

- **yasi.py**
+ Circular imports causing failed pip installs

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.