<commit_before># Babel configuration

[compile_catalog]
domain     = openfisca-france-data
directory  = openfisca_france_data/i18n
statistics = true

[extract_messages]
add_comments       = TRANSLATORS:
copyright_holder   = OpenFisca Team
msgid-bugs-address = <EMAIL>
output_file        = openfisca_france_data/i18n/openfisca-france-data.pot
width              = 80

[init_catalog]
domain     = openfisca-france-data
input_file = openfisca_france_data/i18n/openfisca-france-data.pot
output_dir = openfisca_france_data/i18n

[update_catalog]
domain     = openfisca-france-data
input_file = openfisca_france_data/i18n/openfisca-france-data.pot
output_dir = openfisca_france_data/i18n
previous   = true

# Checks

; E128/133: We prefer hang-closing visual indents
; E251:     We prefer `function(x = 1)` over `function(x=1)`
; E501:     We do not enforce a maximum line length
; F403/405: We ignore * imports
; W503/504: We break lines before binary operators (Knuth's style)

[flake8]
hang-closing = true
ignore       = E128,E251,F403,F405,E501,W503

[pep8]
hang-closing = true
ignore       = E128,E251,F403,F405,E501,W503
in-place     = true

[nosetests]
exe           = true
with-doctest  = true
with-coverage = true<commit_msg>Limit code coverage to package<commit_after># Babel configuration

[compile_catalog]
domain     = openfisca-france-data
directory  = openfisca_france_data/i18n
statistics = true

[extract_messages]
add_comments       = TRANSLATORS:
copyright_holder   = OpenFisca Team
msgid-bugs-address = <EMAIL>
output_file        = openfisca_france_data/i18n/openfisca-france-data.pot
width              = 80

[init_catalog]
domain     = openfisca-france-data
input_file = openfisca_france_data/i18n/openfisca-france-data.pot
output_dir = openfisca_france_data/i18n

[update_catalog]
domain     = openfisca-france-data
input_file = openfisca_france_data/i18n/openfisca-france-data.pot
output_dir = openfisca_france_data/i18n
previous   = true

# Checks

; E128/133: We prefer hang-closing visual indents
; E251:     We prefer `function(x = 1)` over `function(x=1)`
; E501:     We do not enforce a maximum line length
; F403/405: We ignore * imports
; W503/504: We break lines before binary operators (Knuth's style)

[flake8]
hang-closing = true
ignore       = E128,E251,F403,F405,E501,W503

[pep8]
hang-closing = true
ignore       = E128,E251,F403,F405,E501,W503
in-place     = true

[nosetests]
exe           = true
with-doctest  = true
with-coverage = true
cover-package = openfisca_france_data
{'fraction_non_alphanumeric': 0.09159697331740342, 'fraction_numerical': 0.06212664277180406, 'mean_word_length': 4.034068136272545, 'pattern_counts': {'":': 0, '<': 5, '<?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': '1935482', 'n_tokens_mistral': 1063, 'n_tokens_neox': 946, 'n_words': 191}