Skip to content

Commit

Permalink
feat(#5): clean for pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
h1alexbel committed Jul 4, 2024
1 parent 4f7fe9a commit 2dd137d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
9 changes: 8 additions & 1 deletion sr-data/src/sr_data/all.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,21 @@
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.

"""
all.py.
"""
from .verifications.install import install

"""
Run all tasks.
"""


def main():
install(
[
"npm install -g ghminer@0.0.5",
"echo \"All dependencies are installed and up to date!\""
]
)

Expand Down
9 changes: 9 additions & 0 deletions sr-data/src/sr_data/verifications/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,19 @@
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.

"""
install.py
"""
import os

"""
Install tools using provided commands.
"""


def install(commands: []):
print("Installing tools...")
for cmd in commands:
os.system(cmd)
os.system("echo \"All dependencies are installed and up to date!\"")

0 comments on commit 2dd137d

Please sign in to comment.