Skip to content

Commit 9f8ffd8

Browse files
committed
made review changes
1 parent 297dc81 commit 9f8ffd8

5 files changed

Lines changed: 10 additions & 5 deletions

File tree

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
import sys
1010
import textwrap
1111
import traceback
12+
from pathlib import Path
1213

1314
# Third-party
1415
from pygments import highlight
@@ -27,7 +28,7 @@
2728

2829
# Constants
2930
QUARTER = os.path.basename(PATHS["data_quarter"])
30-
SECTION = "1-gcs_report.py"
31+
SECTION = Path(__file__).name
3132

3233

3334
def parse_arguments():
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
import sys
1010
import textwrap
1111
import traceback
12+
from pathlib import Path
1213

1314
# Third-party
1415
from pygments import highlight
@@ -25,7 +26,7 @@
2526
# Setup
2627
LOGGER, PATHS = shared.setup(__file__)
2728
QUARTER = os.path.basename(PATHS["data_quarter"])
28-
SECTION = "2-github_report.py"
29+
SECTION = Path(__file__).name
2930

3031

3132
def parse_arguments():
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
import sys
1010
import textwrap
1111
import traceback
12+
from pathlib import Path
1213

1314
# Third-party
1415
from pygments import highlight
@@ -25,7 +26,7 @@
2526
# Setup
2627
LOGGER, PATHS = shared.setup(__file__)
2728
QUARTER = os.path.basename(PATHS["data_quarter"])
28-
SECTION = "3-openverse_report.py"
29+
SECTION = Path(__file__).name
2930

3031

3132
def parse_arguments():
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
import sys
1010
import textwrap
1111
import traceback
12+
from pathlib import Path
1213

1314
# Third-party
1415
from pygments import highlight
@@ -25,7 +26,7 @@
2526
# Setup
2627
LOGGER, PATHS = shared.setup(__file__)
2728
QUARTER = os.path.basename(PATHS["data_quarter"])
28-
SECTION = "4-wikipedia_report.py"
29+
SECTION = Path(__file__).name
2930

3031

3132
def parse_arguments():
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import sys
99
import textwrap
1010
import traceback
11+
from pathlib import Path
1112

1213
# Third-party
1314
from pygments import highlight
@@ -25,7 +26,7 @@
2526

2627
# Constants
2728
QUARTER = os.path.basename(PATHS["data_quarter"])
28-
SECTION = "100-notes.py"
29+
SECTION = Path(__file__).name
2930

3031

3132
def parse_arguments():

0 commit comments

Comments
 (0)