Skip to content

Commit

Permalink
feat(#5): valid docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
h1alexbel committed Jul 4, 2024
1 parent 2dd137d commit af0df42
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 16 deletions.
14 changes: 6 additions & 8 deletions sr-data/src/sr_data/all.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
"""
Run all tasks.
"""
# The MIT License (MIT)
#
# Copyright (c) 2024 Aliaksei Bialiauski
Expand All @@ -19,18 +22,13 @@
# 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():
"""
Run all tasks.
"""
install(
[
"npm install -g ghminer@0.0.5",
Expand Down
14 changes: 6 additions & 8 deletions sr-data/src/sr_data/verifications/install.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
"""
install.py
"""
# The MIT License (MIT)
#
# Copyright (c) 2024 Aliaksei Bialiauski
Expand All @@ -19,18 +22,13 @@
# 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: []):
"""
Install tools using provided commands.
"""
print("Installing tools...")
for cmd in commands:
os.system(cmd)
Expand Down

0 comments on commit af0df42

Please sign in to comment.