summaryrefslogtreecommitdiff
path: root/gr-utils/modtool/cli/add.py
Commit message (Collapse)AuthorAgeFilesLines
* utils: pep8 formattingJosh Morman2021-11-241-13/+26
| | | | Signed-off-by: Josh Morman <jmorman@gnuradio.org>
* modtool: improve the 'invalid name' error messageFerenc Gerlits2021-05-031-3/+2
| | | | | | also fix some validations which checked a prefix instead of the whole name Signed-off-by: Ferenc Gerlits <fgerlits@gmail.com>
* gr_modtool add: Correctly handle arglistVolker Schroer2021-03-161-2/+2
| | | | Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
* modtool: check blockname before other checksmormj2020-10-201-1/+1
|
* modtool: update of cli block name checkingmormj2020-10-201-3/+3
|
* python: Remove unnecessary 'from __future__ import'Oleksandr Kravchuk2020-08-031-3/+0
| | | | | | | | | | | | | | | | All of the removed `from __future__ import` were needed in older versions of Python (mostly 2.5.x and below) but later became mandatory in most versions of Python 3 hence are not necessary anymore. More specifically, according to __future__.py[1]: - unicode_literals is part of Python since versions 2.6.0 and 3.0.0; - print_function is part of Python since versions 2.6.0 and 3.0.0; - absolute_import is part of Python since versions 2.5.0 and 3.0.0; - division is part of Python since versions 2.2.0 and 3.0.0; Get rid of those unnecessary imports to slightly clean up the codebase. [1] https://github.com/python/cpython/blob/master/Lib/__future__.py
* modtool: Corrected Single and Double Quotesalekhgupta14412020-04-191-1/+1
|
* Code Cleanup cli filesalekhgupta14412020-04-191-2/+1
|
* modtool: Replaced str.format() by Python f'strings in all codesalekhgupta14412020-04-191-3/+5
|
* modtool: Updated get_blockname function to prevent same name blocksalekhgupta14412020-04-111-1/+8
|
* gr-utils: restructure {mod,block}tool foldersjapm482020-04-101-0/+140
Move modtool and blocktool outside of the python folder, as per issue #2462.