We've added a walkthrough to our VS Code extension to make it easier to get started with Sourcery. Go to the Help > Get Started menu to check it out.
We've added two new refactorings for pandas
! These aim to improve performance
by streamlining apply
operations. If you have any feedback or more ideas for
rules you'd like to see in pandas
please
let us know!
Custom rules are now even more powerful!
sourcery init
command to produce a default .sourcery.yaml
configuration
filereplace-apply-with-method-call
refactoring for Pandas Series
and DataFrame
replace-apply-with-numpy-operation
refactoring for Pandas Series
and DataFrame
paths
that
they include
/exclude
from running ontests
in custom rule configuration.sourcery.yaml
file is now validated when it is opened in PyCharmversion
to config file and removed recommendation_level
from outputfor-index-replacement
could remove indices that were accessed later.sum-comprehension
:
Do not apply if the name sum
has already been used.remove-redundant-fstring
won't remove the content of multi-line fstrings.