Closed cclauss closed 6 years ago
Undefined names have the potential to raise NameError at runtime.
flake8 testing of https://github.com/jtauber/apostolic-fathers on Python 3.7.1
$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
./scripts/fix_betacode.py:23:7: F821 undefined name 'inp' print(inp.translate(str.maketrans(a, b)).replace("#3", "q")) ^ ./scripts/compare_JT_SM.py:30:20: F821 undefined name 'ref' print(f"{ref:5s} {line_num:6d} {a_tag:4s} {a_word:25s} {b_word:25s}") ^ 2 F821 undefined name 'ref' 2
Undefined names have the potential to raise NameError at runtime.
flake8 testing of https://github.com/jtauber/apostolic-fathers on Python 3.7.1
$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics