<commit_before>#! /usr/bin/env python3.6
# coding: utf-8

import os
import datetime as dt
from pathlib import Path

import pytz
from dotenv import load_dotenv

env_path = Path('.') / '.env'
load_dotenv(dotenv_path=env_path)

slack_verification_token = os.environ["slack_verification_token"]
slack_bot_user_token = os.environ["slack_bot_user_token"]
bot_id = os.environ["bot_id"]
bot_name = os.environ["bot_name"]

home = Path(os.getenv("home_folder", os.getcwd()))

db_host = os.environ["db_host"]
db_user = os.environ["db_user"]
db_passwd = <PASSWORD>["<PASSWORD>"]
db_name = os.environ["db_name"]

dropbox_token = os.environ["dropbox_token"]

tz = pytz.timezone(os.environ["tz"])

app_id = os.environ["app_id"]

test_channel = os.environ["test_channel"]

main_channel = os.environ["main_channel"]

countdown_message = os.environ["countdown_message"]
ongoing_message = os.environ["ongoing_message"]
finished_message = os.environ["finished_message"]

countdown_date = dt.datetime.fromtimestamp(int(os.environ["countdown_date"]), tz=tz)

countdown_args = os.environ["countdown_args"].split(", ")<commit_msg>Remove explicit path from load_dotenv call<commit_after>#! /usr/bin/env python3.6
# coding: utf-8

import os
import datetime as dt
from pathlib import Path

import pytz
from dotenv import load_dotenv

load_dotenv()

slack_verification_token = os.environ["slack_verification_token"]
slack_bot_user_token = os.environ["slack_bot_user_token"]
bot_id = os.environ["bot_id"]
bot_name = os.environ["bot_name"]

home = Path(os.getenv("home_folder", os.getcwd()))
print(home)

db_host = os.environ["db_host"]
db_user = os.environ["db_user"]
db_passwd = <PASSWORD>["<PASSWORD>"]
db_name = os.environ["db_name"]

dropbox_token = os.environ["dropbox_token"]

tz = pytz.timezone(os.environ["tz"])

app_id = os.environ["app_id"]

test_channel = os.environ["test_channel"]

main_channel = os.environ["main_channel"]

countdown_message = os.environ["countdown_message"]
ongoing_message = os.environ["ongoing_message"]
finished_message = os.environ["finished_message"]

countdown_date = dt.datetime.fromtimestamp(int(os.environ["countdown_date"]), tz=tz)

countdown_args = os.environ["countdown_args"].split(", ")
{'fraction_non_alphanumeric': 0.1457103949160236, 'fraction_numerical': 0.0027235587834770767, 'mean_word_length': 7.380228136882129, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '199432', 'n_tokens_mistral': 797, 'n_tokens_neox': 831, 'n_words': 133}