- Added
--expand
option that allows showing multiples matches in the same line
- Added type
attr
(eg.attr#foo
will matcha.foo.bar
anda.bar.foo
) - Added support for wildcards
- Added special attribute
full
to match imports:import[full=x.z]
will matchfrom x import y as z
- Added ability to match calls with certain
arg
orkwarg
(eg.call[arg=foo]
will matchbar(x, y, foo)
;[kwarg=bar]
will matchfoo(bar=1, z=2)
- Added
--ignore-dir
and--no-recurse
options
- Fixed bug when
node.body
is not an iterator (eg. lambdas)
- Added CHANGELOG.md
- Added support for the type
assign
(eg.assign#foo
will matchfoo = 1
) - Changed
extends()
pseudo-selector to receive a selector as argument - Added support for the type
call
(eg.call#foo
will matchfoo(1)
)
- Fixed bug when using
:extends()
without the typeclass
specified - Fixed bug when trying to match
#name
with a node that doesn't have a name attribute
- Added
-l/--files
option to print only files names
- Added support for Python 2
- Changed package name from pyq to pyqtool, to avoid conflicts w/ existing packages
- Initial release