pyproject.toml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. [tool.poetry.group.dev.dependencies]
  24. coverage = "^7.1.0"
  25. httpx = "*"
  26. pytest = "^7.2.1"
  27. pytest-asyncio = "^0.20.3"
  28. uvicorn = { extras = ["standard"], version = "*" }
  29. pre-commit = "^3.0.4"
  30. ruff = "*"
  31. [tool.poetry.requires-plugins]
  32. poetry-plugin-export = ">=1.8"
  33. [build-system]
  34. build-backend = "poetry.core.masonry.api"
  35. requires = ["poetry-core>=1.0.0"]
  36. [tool.pytest.ini_options]
  37. addopts = "-v"
  38. asyncio_mode = "auto"
  39. filterwarnings = []
  40. markers = ["pytest.mark.asyncio"]
  41. minversion = "6.0"
  42. testpaths = ["app/tests"]
  43. [tool.ruff]
  44. # Exclude a variety of commonly ignored directories.
  45. exclude = [
  46. ".bzr",
  47. ".direnv",
  48. ".eggs",
  49. ".git",
  50. ".git-rewrite",
  51. ".hg",
  52. ".ipynb_checkpoints",
  53. ".mypy_cache",
  54. ".nox",
  55. ".pants.d",
  56. ".pyenv",
  57. ".pytest_cache",
  58. ".pytype",
  59. ".ruff_cache",
  60. ".svn",
  61. ".tox",
  62. ".venv",
  63. ".vscode",
  64. "__pypackages__",
  65. "_build",
  66. "buck-out",
  67. "build",
  68. "dist",
  69. "node_modules",
  70. "site-packages",
  71. "venv",
  72. ]
  73. line-length = 100
  74. indent-width = 4
  75. target-version = "py311"
  76. [tool.ruff.format]
  77. skip-magic-trailing-comma = false
  78. line-ending = "auto"
  79. [tool.ruff.lint.isort]
  80. combine-as-imports = false
  81. [tool.ruff.lint.per-file-ignores]
  82. "__init__.py" = ["E402"]