Passed
Push — main ( fa2423...891932 )
by J
01:24
created

create_dir   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 7
dl 0
loc 15
rs 10
c 0
b 0
f 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A create_dir() 0 3 1
1
#!/usr/bin/env python3
2
# -*- coding: utf-8 -*-
3
"""Create the base directory"""
4
from pathlib import Path
5
from sys import argv
6
7
8
def create_dir():
9
    """Create the project's base directory"""
10
    Path(argv[2]).mkdir()
11
12
13
if __name__ == "__main__":
14
    create_dir()
15