<commit_before>/* eslint-disable global-require */
import { createStore } from "redux"

import rootReducer from "./reducers"
import interceptOverEagerReactReduxWarning from "./dev-utils/intercept_overeager_reactredux_warning"

export default () => {
  const store = createStore(
    rootReducer,
    window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()
  )
<commit_msg>Only enable redux dev tools in dev<commit_after>/* eslint-disable global-require */
import { createStore } from "redux"

import rootReducer from "./reducers"
import interceptOverEagerReactReduxWarning from "./dev-utils/intercept_overeager_reactredux_warning"

export default () => {
  const store = createStore(
    rootReducer,
    window.__REDUX_DEVTOOLS_EXTENSION__ && module.hot && window.__REDUX_DEVTOOLS_EXTENSION__()
  )

{'fraction_non_alphanumeric': 0.09622411693057248, 'fraction_numerical': 0.0, 'mean_word_length': 5.523809523809524, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '2742029', 'n_tokens_mistral': 274, 'n_tokens_neox': 259, 'n_words': 53}