Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Misc Python smells from codefactor.io.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Tue, 22 Mar 2022 12:54:44 +0000 (13:54 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Tue, 22 Mar 2022 12:54:44 +0000 (13:54 +0100)
commitaab076afacb8bc3f295c6f42e221f4d2e5d5d69a
tree6009efa68b19ac928b73dfda6e3d368151ed8c5e
parentbfd69c3ceb98d85f6aff577197153233f4d085d6
Misc Python smells from codefactor.io.

* unnecesary semicolon
* unnecessary "pass" statement.
* unnecessary "else" after "return".
* unnecessary "global"
* specify exception type
* testing for None should use the 'is' operator
* don't redefine built-ins
* unused statements (import, assignment)
docs/source/_ext/javasphinx/javasphinx/apidoc.py
docs/source/_ext/javasphinx/javasphinx/compiler.py
docs/source/_ext/javasphinx/javasphinx/domain.py
docs/source/_ext/javasphinx/javasphinx/formatter.py
docs/source/_ext/javasphinx/javasphinx/htmlrst.py
docs/source/_ext/javasphinx/javasphinx/util.py
teshsuite/s4u/monkey-masterworkers/monkey-masterworkers.py
teshsuite/smpi/MBI/MBIutils.py
teshsuite/smpi/MBI/simgrid.py
tools/simgrid-monkey