pyproject.toml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. [tool.poetry]
  2. authors = ["clovis jaquin <clovis@jaquin.fr>"]
  3. description = "FastAPI project that can parse gsheet planning for brass dans la garonne event and manage creating automatic SMS notification for volunteer"
  4. name = "bdlg-2023"
  5. version = "1.0.1"
  6. [tool.poetry.dependencies]
  7. fastapi = "0.116.*"
  8. pyjwt = { extras = ["crypto"], version = "^2.6.0" }
  9. python = "^3.11"
  10. python-multipart = "^0.0.9"
  11. sqlalchemy = "2.0.*"
  12. alembic = "^1.9.2"
  13. numpy = '<2.0.0'
  14. passlib = { extras = ["bcrypt"], version = "^1.7.4" }
  15. pydantic = { extras = ["dotenv", "email"], version = "2.11.*" }
  16. pandas = "2.1.0"
  17. pandera = "0.20.3"
  18. requests = "2.32.*"
  19. pydantic-settings = "^2.2.1"
  20. psycopg2 = "^2.9.9"
  21. ruff = "^0.16.0"
  22. bcrypt = "4.0.1"
  23. aiosmtplib = "^5.1.2"
  24. [tool.poetry.group.dev.dependencies]
  25. coverage = "^7.1.0"
  26. httpx = "*"
  27. pytest = "^7.2.1"
  28. pytest-asyncio = "^0.20.3"
  29. uvicorn = { extras = ["standard"], version = "*" }
  30. pre-commit = "^3.0.4"
  31. ruff = "*"
  32. [tool.poetry.requires-plugins]
  33. poetry-plugin-export = ">=1.8"
  34. [build-system]
  35. build-backend = "poetry.core.masonry.api"
  36. requires = ["poetry-core>=1.0.0"]
  37. [tool.pytest.ini_options]
  38. addopts = "-v"
  39. asyncio_mode = "auto"
  40. filterwarnings = []
  41. markers = ["pytest.mark.asyncio"]
  42. minversion = "6.0"
  43. testpaths = ["app/tests"]
  44. [tool.ruff]
  45. # Exclude a variety of commonly ignored directories.
  46. exclude = [
  47. ".bzr",
  48. ".direnv",
  49. ".eggs",
  50. ".git",
  51. ".git-rewrite",
  52. ".hg",
  53. ".ipynb_checkpoints",
  54. ".mypy_cache",
  55. ".nox",
  56. ".pants.d",
  57. ".pyenv",
  58. ".pytest_cache",
  59. ".pytype",
  60. ".ruff_cache",
  61. ".svn",
  62. ".tox",
  63. ".venv",
  64. ".vscode",
  65. "__pypackages__",
  66. "_build",
  67. "buck-out",
  68. "build",
  69. "dist",
  70. "node_modules",
  71. "site-packages",
  72. "venv",
  73. ]
  74. line-length = 100
  75. indent-width = 4
  76. target-version = "py311"
  77. [tool.ruff.format]
  78. skip-magic-trailing-comma = false
  79. line-ending = "auto"
  80. [tool.ruff.lint.isort]
  81. combine-as-imports = false
  82. [tool.ruff.lint.per-file-ignores]
  83. "__init__.py" = ["E402"]