Closed cclauss closed 6 years ago
flake8 testing of https://github.com/McSinyx/comp on Python 3.6.3
This PR fixes 4 of the 6 reported missing names...
$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
./omp/omp.py:73:22: F821 undefined name 'Comp' self = super(Comp, cls).__new__(cls) ^ ./omp/omp.py:120:67: F821 undefined name 'value' _("Failed to multiply '{}' with {}").format(name, value), ^ ./omp/omp.py:183:13: F821 undefined name 're' p = re.compile(self.gets('/'), re.IGNORECASE) ^ ./omp/omp.py:183:40: F821 undefined name 're' p = re.compile(self.gets('/'), re.IGNORECASE) ^ ./omp/omp.py:192:56: F821 undefined name 'curses' self.update_status(_("Pattern not found"), curses.color_pair(1)) ^ ./omp/omp.py:200:56: F821 undefined name 'curses' self.update_status(_("Pattern not found"), curses.color_pair(1)) ^ 6 F821 undefined name 'Comp' 6
Thank you, merged. I am so happy that Omp didn't got far enough that sb used as a library. Damn careless me.
The Comp and value issues were not fixed in this PR.
Thank you, I've just fixed that by 5dc1184.
flake8 testing of https://github.com/McSinyx/comp on Python 3.6.3
This PR fixes 4 of the 6 reported missing names...
$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics