<commit_before># All configuration for plugins and other utils is defined here.
# Read more about `setup.cfg`:
# https://docs.python.org/3/distutils/configfile.html


[flake8]
# flake8 configuration:
# https://flake8.pycqa.org/en/latest/user/configuration.html
format = wemake
show-source = True
statistics = False
doctests = True
enable-extensions = G

# darglint configuration:
# https://github.com/terrencepreilly/darglint
strictness = long
docstring-style = numpy

# Flake plugins:
max-line-length = 80
max-complexity = 6

exclude = .git,__pycache__,.venv,.eggs,*.egg

ignore = D100, D104, D106, D401, X100, W504, RST303, RST304, DAR103, DAR203, W503, WPS317, WPS348

per-file-ignores =
  test_*/*/settings.py: S105, WPS226, WPS407, WPS412, WPS432
  test_projects/*/migrations/*.py: WPS102, WPS114, WPS432
  tests/*.py: S101, WPS432, WPS442
  noxfile.py: WPS226, WPS442


[isort]
# isort configuration:
# https://github.com/timothycrosley/isort/wiki/isort-Settings
include_trailing_comma = true
use_parentheses = true
# See https://github.com/timothycrosley/isort#multi-line-output-modes
multi_line_output = 3
line_length = 80


[tool:pytest]
# pytest configuration:
# https://docs.pytest.org/en/stable/customize.html

# Directories that are not visited by pytest collector:
norecursedirs = dtu_test_project *.egg .eggs dist build docs .tox .git __pycache__

# You will need to measure your tests speed with `-n auto` and without it,
# so you can see whether it gives you any performance gain, or just gives
# you an overhead. See `docs/template/development-process.rst`.
addopts =
  --strict-markers
  --strict-config
  --doctest-modules
  --tb=short
  --cov=tenant_users
  --cov-branch
  --cov-report=term-missing:skip-covered
  --cov-report=html
  --cov-append


[coverage:run]
# Coverage configuration:
# https://coverage.readthedocs.io/en/latest/config.html
# Exclude nox output from coverage calculation
omit = */.nox/*


[mypy]
# Mypy configuration:
# https://mypy.readthedocs.io/en/latest/config_file.html
allow_redefinition = False
check_untyped_defs = True
disallow_untyped_decorators = True
disallow_any_explicit = True
disallow_any_generics = True
disallow_untyped_calls = True
ignore_errors = False
ignore_missing_imports = True<commit_msg>test: include tests/ in coverage report<commit_after># All configuration for plugins and other utils is defined here.
# Read more about `setup.cfg`:
# https://docs.python.org/3/distutils/configfile.html


[flake8]
# flake8 configuration:
# https://flake8.pycqa.org/en/latest/user/configuration.html
format = wemake
show-source = True
statistics = False
doctests = True
enable-extensions = G

# darglint configuration:
# https://github.com/terrencepreilly/darglint
strictness = long
docstring-style = numpy

# Flake plugins:
max-line-length = 80
max-complexity = 6

exclude = .git,__pycache__,.venv,.eggs,*.egg

ignore = D100, D104, D106, D401, X100, W504, RST303, RST304, DAR103, DAR203, W503, WPS317, WPS348

per-file-ignores =
  test_*/*/settings.py: S105, WPS226, WPS407, WPS412, WPS432
  test_projects/*/migrations/*.py: WPS102, WPS114, WPS432
  tests/*.py: S101, WPS432, WPS442
  noxfile.py: WPS226, WPS442


[isort]
# isort configuration:
# https://github.com/timothycrosley/isort/wiki/isort-Settings
include_trailing_comma = true
use_parentheses = true
# See https://github.com/timothycrosley/isort#multi-line-output-modes
multi_line_output = 3
line_length = 80


[tool:pytest]
# pytest configuration:
# https://docs.pytest.org/en/stable/customize.html

# Directories that are not visited by pytest collector:
norecursedirs = dtu_test_project *.egg .eggs dist build docs .tox .git __pycache__

# You will need to measure your tests speed with `-n auto` and without it,
# so you can see whether it gives you any performance gain, or just gives
# you an overhead. See `docs/template/development-process.rst`.
addopts =
  --strict-markers
  --strict-config
  --doctest-modules
  --tb=short
  --cov=tenant_users
  --cov=tests
  --cov-branch
  --cov-report=term-missing:skip-covered
  --cov-report=html
  --cov-append


[coverage:run]
# Coverage configuration:
# https://coverage.readthedocs.io/en/latest/config.html
# Exclude nox output from coverage calculation
omit = */.nox/*


[mypy]
# Mypy configuration:
# https://mypy.readthedocs.io/en/latest/config_file.html
allow_redefinition = False
check_untyped_defs = True
disallow_untyped_decorators = True
disallow_any_explicit = True
disallow_any_generics = True
disallow_untyped_calls = True
ignore_errors = False
ignore_missing_imports = True
{'fraction_non_alphanumeric': 0.1152832674571805, 'fraction_numerical': 0.03864734299516908, 'mean_word_length': 4.541362530413625, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 16, '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': '6023053', 'n_tokens_mistral': 1764, 'n_tokens_neox': 1613, 'n_words': 381}