tamarott / SinGAN

Official pytorch implementation of the paper: "SinGAN: Learning a Generative Model from a Single Natural Image"
https://tamarott.github.io/SinGAN.htm
Other
3.31k stars 611 forks source link

GitHub Action to find Python syntax errors and undefined names #79

Closed cclauss closed 3 years ago

cclauss commented 4 years ago

GitHub Action to automate the identification of common misspellings in text files and Python syntax errors and undefined names.

https://github.com/codespell-project/codespell https://gitlab.com/pycqa/flake8

cclauss commented 4 years ago

https://github.com/cclauss/SinGAN/actions

./SIFID/sifid_score.py:209:8: F821 undefined name 'path'
    if path.endswith('.npz'):
       ^
./SIFID/sifid_score.py:210:21: F821 undefined name 'path'
        f = np.load(path)
                    ^
./SIFID/sifid_score.py:214:29: F821 undefined name 'path'
        path = pathlib.Path(path)
                            ^
3     F821 undefined name 'path'
3