This repository was archived by the owner on Dec 15, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Data processing: remove inefficient statements
Anastasiia.Birillo edited this page Dec 7, 2020
·
3 revisions
This module allows to remove inefficient statements in the files. We use pylint library to detect such kinds of statements. For example, in the code fragment:
a = input()
print
the statement print is an inefficient statement.
Note: available only for Python language.
Use remove_inefficient_statements method from inefficient_statements_removing.py.
| Argument | Description |
|---|---|
| path | path to a directory with files in a single language |
| output_directory_prefix | the output directory name prefix. The default value is remove_inefficient_statements |
An example of the root input directory structure before usage:
-root
--python
---task1
----user_N1_files
--cpp
---task1
----user_N2_files