Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
python/chcat: improve the code readability
flake8 reports many warnings for chcat: chcat:7:1: E265 block comment should start with '# ' chcat:29:1: F401 'string' imported but unused chcat:44:1: E722 do not use bare 'except' chcat:104:9: F841 local variable 'e' is assigned to but never used chcat:144:9: F841 local variable 'e' is assigned to but never used chcat:186:9: F841 local variable 'e' is assigned to but never used chcat:234:9: F841 local variable 'e' is assigned to but never used chcat:262:9: F841 local variable 'e' is assigned to but never used chcat:281:5: F841 local variable 'e' is assigned to but never used chcat:385:9: E722 do not use bare 'except' chcat:402:1: E305 expected 2 blank lines after class or function definition, found 1 chcat:436:5: F841 local variable 'e' is assigned to but never used Fix all of them. Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
- Loading branch information
1 parent
2923d9d
commit 69c56bd
Showing
1 changed file
with
12 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters