content: [project]
  name = "nemli"
  version = "0.2.0"
  description = "Um bot de discord para criar resumos baseado nas últimas mensagens de um canal"
  authors = [
      { name = "Manoel Vilela", email = "manoel_vilela@engineer.com" },
      { name = "Mateus Reis", email = "mateuspsvreis@gmail.com" },
  ]
  dependencies = [
      "pydantic-settings>=2.3.4",
      "openai>=1.37.0",
      "nextcord>=2.6.0",
      "setuptools>=71.1.0",
      "nltk>=3.8.1",
      "loguru>=0.7.2",
  ]
  requires-python = ">=3.10,<3.13"
  readme = "README.md"
  license = { text = "MIT" }
  
  [build-system]
  requires = ["pdm-backend"]
  build-backend = "pdm.backend"
  
  [tool.pdm]
  distribution = true
  
  [tool.pdm.dev-dependencies]
  dev = [
      "pytest>=8.3.1",
      "mypy>=1.11.0",
      "flake8>=7.1.0",
      "black>=24.4.2",
      "pytest-cov>=5.0.0",
      "types-requests>=2.32.0.20240712",
      "pre-commit>=3.7.1",
  ]
  
  [tool.mypy]
  ignore_missing_imports = true
  exclude = [".venv"]
  
  [tool.pytest]
  exclude = [".venv"]
  
  [tool.black]
  line-length = 120
  enable-unstable-feature = ["string_processing"]
  
  [tool.pdm.scripts]
  lint = { composite = ["flake8", "mypy"] }
  _mock_env = "env NEMLI__DISCORD__TOKEN=xxx NEMLI__OPENAI__API_KEY=yyy"
  test = { composite = [
      "_mock_env pytest -vv -p no:cacheprovider --disable-pytest-warnings --cov=nemli --cov-report term -k",
  ] }
  tests = { composite = ["test test tests/"] }
  format = "black nemli/ tests/ --preview"
  check = { composite = ["lint nemli/ tests/", "tests"] }
  all = { composite = ["format", "check"] }
  
  [project.scripts]
  nemli = "nemli.main:run"
  