pyproject.toml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. [tool.towncrier]
  2. package = "sydent"
  3. filename = "CHANGELOG.md"
  4. directory = "changelog.d"
  5. issue_format = "[\\#{issue}](https://github.com/matrix-org/sydent/issues/{issue})"
  6. [[tool.towncrier.type]]
  7. directory = "feature"
  8. name = "Features"
  9. showcontent = true
  10. [[tool.towncrier.type]]
  11. directory = "bugfix"
  12. name = "Bugfixes"
  13. showcontent = true
  14. [[tool.towncrier.type]]
  15. directory = "docker"
  16. name = "Updates to the Docker image"
  17. showcontent = true
  18. [[tool.towncrier.type]]
  19. directory = "doc"
  20. name = "Improved Documentation"
  21. showcontent = true
  22. [[tool.towncrier.type]]
  23. directory = "removal"
  24. name = "Deprecations and Removals"
  25. showcontent = true
  26. [[tool.towncrier.type]]
  27. directory = "misc"
  28. name = "Internal Changes"
  29. showcontent = true
  30. [tool.isort]
  31. profile = "black"
  32. [tool.black]
  33. target-version = ['py36']
  34. [tool.mypy]
  35. plugins = "mypy_zope:plugin"
  36. show_error_codes = true
  37. namespace_packages = true
  38. strict = true
  39. files = [
  40. # Find files that pass with
  41. # find sydent tests -type d -not -name __pycache__ -exec bash -c "mypy --strict '{}' > /dev/null" \; -print
  42. "sydent"
  43. # TODO the rest of CI checks these---mypy ought to too.
  44. # "tests",
  45. # "matrix_is_test",
  46. # "scripts",
  47. # "setup.py",
  48. ]
  49. mypy_path = "stubs"
  50. [[tool.mypy.overrides]]
  51. module = [
  52. "idna",
  53. "nacl.*",
  54. "netaddr",
  55. "prometheus_client",
  56. "sentry_sdk",
  57. "signedjson.*",
  58. "sortedcontainers",
  59. ]
  60. ignore_missing_imports = true