anapgh / pycefr

6 stars 12 forks source link

Pylint errors #5

Closed RaulCM closed 3 years ago

RaulCM commented 3 years ago

Your code has been analyzed by PEP-Analyzer using Pylint tool to adapt it to PEP8, the Python style guide.
These are the pylint errors fixed in your code:
/anapgh/pycefrl/ANEXO/anexo_kappa.py;5;0;W0611;Unused numpy imported as np
/anapgh/pycefrl/ANEXO/anexo_kappa.py;7;0;C0411;standard import "import os" should be placed before "from sklearn.metrics import cohen_kappa_score"
/anapgh/pycefrl/ANEXO/anexo_kappa.py;8;0;C0411;standard import "import sys" should be placed before "from sklearn.metrics import cohen_kappa_score"
/anapgh/pycefrl/texto.py;107;0;C0413;Import "from collections import namedtuple" should be placed at the top of the module
/anapgh/pycefrl/texto.py;183;0;C0413;Import "import struct" should be placed at the top of the module
/anapgh/pycefrl/texto.py;188;0;C0413;Import "import pickle" should be placed at the top of the module
/anapgh/pycefrl/texto.py;436;0;C0413;Import "import b.py" should be placed at the top of the module
/anapgh/pycefrl/texto.py;439;0;C0413;Import "from module1 import printer" should be placed at the top of the module
/anapgh/pycefrl/texto.py;442;0;C0413;Import "from module1 import " should be placed at the top of the module
/anapgh/pycefrl/texto.py;447;0;C0413;Import "import mod2" should be placed at the top of the module
/anapgh/pycefrl/texto.py;454;0;C0413;Import "from . import string" should be placed at the top of the module
/anapgh/pycefrl/texto.py;456;0;C0413;Import "from .string import name1, name2" should be placed at the top of the module
/anapgh/pycefrl/texto.py;458;0;C0413;Import "from .. import string" should be placed at the top of the module
/anapgh/pycefrl/texto.py;462;0;C0413;Import "from future import featurename" should be placed at the top of the module
/anapgh/pycefrl/texto.py;472;0;C0413;Import "import modulename as name" should be placed at the top of the module
/anapgh/pycefrl/texto.py;473;0;C0413;Import "from modulename import attrname as name" should be placed at the top of the module
/anapgh/pycefrl/texto.py;480;0;C0413;Import "import importlib" should be placed at the top of the module
/anapgh/pycefrl/texto.py;485;0;W0404;Reimport 'struct' (imported line 183)
/anapgh/pycefrl/texto.py;485;0;C0413;Import "import struct" should be placed at the top of the module
/anapgh/pycefrl/texto.py;486;0;W0404;Reimport 'pickle' (imported line 188)
/anapgh/pycefrl/texto.py;486;0;C0413;Import "import pickle" should be placed at the top of the module
/anapgh/pycefrl/texto.py;487;0;C0413;Import "import shelve" should be placed at the top of the module
/anapgh/pycefrl/texto.py;488;0;C0413;Import "import dbm" should be placed at the top of the module
/anapgh/pycefrl/texto.py;489;0;C0413;Import "import re" should be placed at the top of the module
/anapgh/pycefrl/texto.py;490;0;W0404;Reimport 'importlib' (imported line 480)
/anapgh/pycefrl/texto.py;490;0;C0413;Import "import importlib" should be placed at the top of the module
/anapgh/pycefrl/texto.py;491;0;C0413;Import "from struct import
" should be placed at the top of the module
/anapgh/pycefrl/texto.py;532;0;C0413;Import "from person import Person" should be placed at the top of the module
/anapgh/pycefrl/texto.py;597;24;C0321;More than one statement on a single line
/anapgh/pycefrl/texto.py;454;0;W0611;Unused import string
/anapgh/pycefrl/texto.py;456;0;W0611;Unused name1 imported from string
/anapgh/pycefrl/texto.py;456;0;W0611;Unused name2 imported from string
/anapgh/pycefrl/texto.py;487;0;W0611;Unused import shelve
/anapgh/pycefrl/texto.py;488;0;W0611;Unused import dbm
/anapgh/pycefrl/texto.py;489;0;W0611;Unused import re
/anapgh/pycefrl/texto.py;462;0;C0411;standard import "from future import featurename" should be placed before "import b.py"
/anapgh/pycefrl/texto.py;472;0;C0411;first party import "import modulename as name" should be placed before "from . import string"
/anapgh/pycefrl/texto.py;473;0;C0411;first party import "from modulename import attrname as name" should be placed before "from . import string"
/anapgh/pycefrl/texto.py;480;0;C0411;standard import "import importlib" should be placed before "import b.py"
/anapgh/pycefrl/texto.py;485;0;C0411;standard import "import struct" should be placed before "import b.py"
/anapgh/pycefrl/texto.py;486;0;C0411;standard import "import pickle" should be placed before "import b.py"
/anapgh/pycefrl/texto.py;487;0;C0411;standard import "import shelve" should be placed before "import b.py"
/anapgh/pycefrl/texto.py;488;0;C0411;standard import "import dbm" should be placed before "import b.py"
/anapgh/pycefrl/texto.py;489;0;C0411;standard import "import re" should be placed before "import b.py"
/anapgh/pycefrl/texto.py;490;0;C0411;standard import "import importlib" should be placed before "import b.py"
/anapgh/pycefrl/texto.py;491;0;C0411;standard import "from struct import *" should be placed before "import b.py"
/anapgh/pycefrl/texto.py;532;0;C0411;first party import "from person import Person" should be placed before "from . import string"