- Update to 0.3.19
* Return more specific QNames for assignments #477
* Tie accesses from string annotation to the string node #483
* Fix leaking processes from TypeInferenceProvider #474
* Fix TypeInferenceProvider breakage with empty cache #476
* Fix formatting for link to QualifiedName class in docs #480
- Release 0.3.18
* Add FlattenSentinel to support replacing a statement with
multiple statements #455
* Add BuiltinScope #469
* Add FullyQualifiedNameProvider #465
* Split QualifiedNameProvider out from
libcst.metadata.scope_provider #464
* Fix Exception while parsing escape character in raw f-strings
#462
OBS-URL: https://build.opensuse.org/request/show/894418
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libcst?expand=0&rev=14
- Update to version 0.3.16
Added
* Support PEP-604 style unions in decorator annotations #429
* Gathering exports in augmented assignment statements #426
Fixed
* Don't allow out of order accesses in the global scope #431
* Handle scope ordering in For statements #430
* Fix for not parsing subscripts such as cast()["from"] #428
* Walrus operator's left hand side now has STORE expression
context #433
- Changes in 0.3.15
Added
* Support Named Unicode Characters and yield in f-strings #424
Fixed
* Assignment/access ordering in comprehensions #423
* Referencing of remaining objects in cast() #422
- refresh skip_failing_test.patch
OBS-URL: https://build.opensuse.org/request/show/860001
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libcst?expand=0&rev=10
- Update to version 0.3.14
Fixed
* Fix is_annotation for types used in classdef base and assign
value [#406]
* Visit concatenated f-strings during scope analysis [#411]
* Correct handling of walrus operator in function args [#417]
* Allow generator expressions in f-strings [#419]
* Keep track of assignment/access ordering during scope analysis
[#413]
* Handle string type references in cast() during scope analysis
[#418]
- 0.3.13
Fixed
* Use correct type for AugAssign and AnnAssign target [#396]
* Support string annotations for type aliases [#401]
- 0.3.12
Fixed
* fix RemoveImportsVisitor crash when ImportAlias is
inserted without comma [#397]
* Provide STORE for {Class,Function}Def.name in
ExpressionContextProvider [#394]
- 0.3.11
Added
* Implement TypeOf matcher [#384]
Updated
* Update return type of ParentNodeProvider to be CSTNode [#377]
* Add source code links to each class/function [#378]
Fixed
* Removing an import alias with a trailing standalone
comment should preserve the comment [#392]
OBS-URL: https://build.opensuse.org/request/show/849770
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libcst?expand=0&rev=7
- Update to v0.3.10
Added
* Handle string annotations in ScopeProvider #373
* Add is_annotation subtype for Access inreferences. #372
Updated
* Call pyre query with noninteractive logging #371
* Replace matchers with explicit visitation in gatherers #366
* Include missing test data in install #365
Fixed
* Spaces around walrus operator are not required #368
* SaveMachedNode now matches with trailing empty wildcards #356
* Correctly extract wildcard matchers #355
- clean specfile multibuild
- don't require own package on test flavor
- require dataclasses for Python 3.6 distros
- despite gh#Instagram/LibCST#365 says it's fixed, we still need to
regenerate the code for tests
=> don't skip tests which actually pass after codegen
- can use plain unittest again, same as upstream
- define skip_python2 for Leap repositories
OBS-URL: https://build.opensuse.org/request/show/829578
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libcst?expand=0&rev=5