We continued improving the
Command Line Interface:
With the new --diff
option, you can now run Sourcery only for the code in your
current PR.
sourcery review --diff "git diff main" .
We had an issue with the release 0.12.10 This changelog contains the changes of both 0.12.10 and 0.12.11
sourcery review --diff="git diff HEAD" .
--config
contains
sourcery login
from CLI..sourcery.yaml
file present.invert-any-all
from inverting chains of comparisons like 0 <= value <= 255
. Fixes
Issue # 286test_*.py
and *_test.py
instead of the test.sourcery.yaml
file in the current
directory or any of its ancestors, rather than just the current directory..sourcery.yaml
match paths relative to the config file. This applies to
ignore
,
rules.paths.include
and rules.paths.exclude