changeset 9734831aa897 in tryton-tools:default
details: https://hg.tryton.org/tryton-tools?cmd=changeset&node=9734831aa897
description:
Check with isort only added or modified files
The files removed can not obviously be checked.
diffstat:
reviewbot.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r ff4ad33fc8fa -r 9734831aa897 reviewbot.py
--- a/reviewbot.py Sat Dec 11 21:37:49 2021 +0100
+++ b/reviewbot.py Wed Dec 15 17:43:20 2021 +0100
@@ -102,7 +102,8 @@
shell=True).decode('utf-8'))
output.append(subprocess.check_output(
'isort -m VERTICAL_GRID -p trytond -c '
- '`hg status --subrepos --no-status` || exit 0',
+ '`hg status --subrepos --no-status --added --modified` '
+ '|| exit 0',
stderr=subprocess.STDOUT,
shell=True).decode('utf-8'))
finally: