This repository has been archived by the owner on Apr 1, 2020. It is now read-only.
Releases: zrzka/blackmamba
Releases · zrzka/blackmamba
1.5.2 (2018-05-28)
1.5.1 (2018-05-28)
pythonista_startup.py
sample - executemain
only ifappex.is_running_extension()
is false- Black Mamba supports Pythonista >= 3.2 & Python >= 3.6 only
- Keyboard shortcuts added to Pythonista 3.2 removed
- Removed
script/new_tab.py
, it was there just forCmd T
- Black Mamba fails to initialize if you do use with Pythonista < 3.2 || Python < 3.6
outline_quickly.py
- Added support for
async
functions - Added support for
TODO
andFIXME
- Supported variants
TODO
,TODO:
,[TODO]
, case insensitive - re for TODO
'\A.*#\s*\[?(?i:TODO)\]?[ :]*(?P<text>.*?)\s*\Z'
as an example - Square brackets because of ligatures in Pragmata Pro
- Not perfect, matches if it's in the string, but it's good enough for now
- Supported variants
- Added support for
forum-copy-code.py
script added- Allows you to copy code elements from the forum
blackmamba.framework.security
- Fixed InternetPassword query (check for not empty auth type)
1.5.0
1.5.0 (2018-01-11)
- Pass
-p no:cacheprovider
to fix operation not permitted for.cache
directory (run unit tests script) - Documentation cleanup and rewrite to Markdown, which is easily editable in Pythonista compared to reST
blackmamba.framework.security
introducedblackmamba.uikit.keyboard
- Camel case enum constant deprecated, will be removed in 2.0.0
- Use UPPER_CASED versions, camel case still exists as aliases
with bundle()
always unloadspkg_resources.*
causing issues- Launch Pythonista, run Black Mamba Analyze - works vs
- Launch Pythonista, run Pythonista unit tests, run Black Mamba Analyze - fails, because of
pkg_resources
1.4.3
1.4.2
1.4.1
1.4.1 (2017-11-13)
- Compatibility check with 3.1.1 (311016)
- Bundle
refactoring
enhanced withfuture
,libfuturize
,libpasteurize
modules script/refactoring/futurize.py
introduced (see Python Future)- Equivalent of
futurize -1 --all-imports -n -w --add-suffix 3 $editor.get_path()
(Stage 1 only) - When futurizer ends, editor text is replaced with content of the
.py3
and.py3
is trashed - You can run futurizer script with
Cmd Option F
- Equivalent of
- Improved updates check
- Console is not cluttered with local / latest release info (installer prints this)
- Update
check()
doesn't ask if update should (not) be installer (installer also asks) - If there's new update available, installer is executed, you will still be asked (just once, not twice)
- Script
new_file.py
modified- File opened
- Asks for a file name (empty &
Enter
-> Cancel) - New file path is currently opened file dirname + entered file name
- If file doesn't exist, new file is created and opened
- If file exists, file is opened
- Asks for a file name (empty &
- No file opened
- Same behavior as now
- New tab created and New File... button tap emulated
- File opened
- Installer
- Replaced
ModuleNotFoundError
(Python 3.6) withImportError
(Python 3.5)
- Replaced
1.4.0
1.4.0 (2017-11-01)
- Fixed keyboard shortcut selector name generator
- Bundle
refactoring
introduced (includesrope
) - Refactoring functions introduced
- It's an EXPERIMENT. You should use version control system to avoid loosing data.
Cmd Option O
- Organize importsCmd Option E
- Expand star importsCmd Option R
- Rename identifier- Can be used as scripts as well, see
script/refactoring
folder - Preview dialog can be closed with
Cmd .
/Esc
, confirmed withEnter
- Scroll back to initial cursor location if analyzer didn't find an issue, ugly, but better than end of the file
1.3.3
1.3.3 (2017-10-27)
- Installer improved
- Print installed version to the console
- Show installed version in the dialog update/replace dialog
- Dialog content differs for update/replace (version comparison)
script/selfupdate.py
added (it just runs installer via requests)- Check for updates
- Update dialog allows you to run
selfupdate.py
- If you hit cancel, installer command is copied to the clipboard
and additional info aboutselfupdate.py
/ installer command
is printed to the console
- Update dialog allows you to run
1.3.2
1.3.2 (2017-10-25)
- Fixed exception when there's empty tab opened (#30)
- Open quickly selects proper tab when the file is already opened
and empty tab exists as well - Compatibility check with 311015
Cmd-Shift-]
,Cmd-Shift-[
registered only in Pythonista < 311015- These shortcuts are natively supported
- flake8-3.5.0, pyflakes-1.6.0
- Bare exception check
- Ambigious identifier check