Wrong result for syntactically different python identation
ichianr opened this issue · comments
임창일 commented
(1) A description of the issue. A screenshot is often helpful too.
Difftastic prints No syntactic changes
for syntactically different python files.
(2) A copy of what you're diffing. If you're diffing files, include the before and after files. If you're using difftastic with a VCS repository (e.g. git), include the URL and commit hash.
a.py
:
def f(args):
if isinstance(args, list):
print("hello")
print("world")
b.py
:
def f(args):
if isinstance(args, list):
print("hello")
print("world")
(3) The version of difftastic you're using (see difft --version
) and your operating system.
$ difft --version
Difftastic 0.56.1 (d9d6401c4 2024-03-05, built with rustc 1.76.0)
It was installed with pacman
in Arch Linux.
Dirk Feytons commented
Rein Fernhout commented
Dirk Feytons commented
Wilfred Hughes commented
Thanks for the report! This is a duplicate of #587, so closing in favour of that issue.