<commit_before>Step 2x: Setup Bitbucket
========================
First you will have to register your application on Bitbucket. Check out the
documentation for more information: https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket.

Next configure a resource owner of type `bitbucket` with appropriate
`client_id`, `client_secret`.

```yaml
# app/config/config.yml

hwi_oauth:
    resource_owners:
        any_name:
            type:                bitbucket<commit_msg>use bitbucket2 for docs<commit_after>Step 2x: Setup Bitbucket
========================
First you will have to register your application on Bitbucket. Check out the
documentation for more information: https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket.

Next configure a resource owner of type `bitbucket` with appropriate
`client_id`, `client_secret`.

```yaml
# app/config/config.yml

hwi_oauth:
    resource_owners:
        any_name:
            type:                bitbucket2 # use 'bitbucket' if you are using OAuth1 application!
{'fraction_non_alphanumeric': 0.11923076923076924, 'fraction_numerical': 0.004807692307692308, 'mean_word_length': 4.028985507246377, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '2222830', 'n_tokens_mistral': 297, 'n_tokens_neox': 283, 'n_words': 92}