content: [tool.black]
  line-length = 88
  target-version = ['py39']
  include = '\.pyi?$'
  extend-exclude = '''
  /(
    # directories
    \.eggs
    | \.git
    | \.hg
    | \.mypy_cache
    | \.tox
    | \.venv
    | build
    | dist
  )/
  '''
  
  [tool.isort]
  profile = "black"
  multi_line_output = 3
  include_trailing_comma = true
  force_grid_wrap = 0
  use_parentheses = true
  ensure_newline_before_comments = true
  line_length = 88
  
  [tool.mypy]
  python_version = "3.9"
  check_untyped_defs = true
  ignore_missing_imports = true
  warn_unused_ignores = true
  warn_redundant_casts = true
  warn_unused_configs = true
  plugins = ["mypy_django_plugin.main"]
  
  [tool.django-stubs]
  django_settings_module = "config.settings.base"
  
  [tool.pytest.ini_options]
  DJANGO_SETTINGS_MODULE = "config.settings.test"
  python_files = "tests.py test_*.py *_tests.py"
  addopts = "--strict-markers --strict-config -ra"
  
  [tool.coverage.run]
  include = ["myproject/**"]
  omit = ["*migrations*", "*tests*"]
  plugins = ["django_coverage_plugin"]
  
  [tool.coverage.report]
  exclude_lines = ["pragma: no cover", "def __repr__", "if self.debug:", "raise NotImplementedError", "if __name__ == .__main__.:"]
  show_missing = true
  
  [build-system]
  requires = ["poetry-core>=1.0.0"]
  build-backend = "poetry.core.masonry.api"
  
  [tool.poetry]
  name = "myproject"
  version = "0.1.0"
  description = "A Django project with DDD and Clean Architecture"
  authors = ["Your Name <you@example.com>"]
  
  [tool.poetry.dependencies]
  python = "^3.9"
  django = "^4.2"
  djangorestframework = "^3.14"