Skip to content

Commit 8f0f33f

Browse files
committed
Moved logging init up
1 parent d634d4a commit 8f0f33f

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

remove-json-keys/utils/bump.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import os, logging
22
import tomli, tomli_w
33

4+
logging.basicConfig(level=logging.DEBUG, format='%(asctime)s - %(levelname)s - %(message)s')
5+
46
pyproject_path = os.path.join(os.path.dirname(__file__), '../pyproject.toml')
57
with open(pyproject_path, 'rb') as file:
68
pkg_name = tomli.load(file)['project']['name']
79

8-
logging.basicConfig(level=logging.DEBUG, format='%(asctime)s - %(levelname)s - %(message)s')
9-
1010
def update_changelog_url():
1111

1212
logging.debug(f'Loading {pyproject_path}...')

translate-messages/utils/bump.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import os, logging
22
import tomli, tomli_w
33

4+
logging.basicConfig(level=logging.DEBUG, format='%(asctime)s - %(levelname)s - %(message)s')
5+
46
pyproject_path = os.path.join(os.path.dirname(__file__), '../pyproject.toml')
57
with open(pyproject_path, 'rb') as file:
68
pkg_name = tomli.load(file)['project']['name']
79

8-
logging.basicConfig(level=logging.DEBUG, format='%(asctime)s - %(levelname)s - %(message)s')
9-
1010
def update_changelog_url():
1111

1212
logging.debug(f'Loading {pyproject_path}...')

0 commit comments

Comments
 (0)