2022-05-13 17:42:42 +00:00
|
|
|
[tool.poetry]
|
2022-06-01 15:17:25 +00:00
|
|
|
name = "spiffworkflow-backend"
|
2022-05-13 17:42:42 +00:00
|
|
|
version = "0.0.0"
|
2022-06-01 15:17:25 +00:00
|
|
|
description = "Spiffworkflow Backend"
|
2022-05-13 17:42:42 +00:00
|
|
|
authors = ["Jason Lantz <sartography@users.noreply.github.com>"]
|
|
|
|
license = "MIT"
|
|
|
|
readme = "README.rst"
|
2022-06-01 15:17:25 +00:00
|
|
|
homepage = "https://github.com/sartography/spiffworkflow-backend"
|
|
|
|
repository = "https://github.com/sartography/spiffworkflow-backend"
|
|
|
|
documentation = "https://spiffworkflow-backend.readthedocs.io"
|
2022-05-13 17:42:42 +00:00
|
|
|
classifiers = [
|
|
|
|
"Development Status :: 1 - Planning",
|
|
|
|
]
|
|
|
|
|
|
|
|
[tool.poetry.urls]
|
2022-06-01 15:17:25 +00:00
|
|
|
Changelog = "https://github.com/sartography/spiffworkflow-backend/releases"
|
2022-05-13 17:42:42 +00:00
|
|
|
|
|
|
|
[tool.poetry.dependencies]
|
2022-10-05 20:59:47 +00:00
|
|
|
python = ">=3.9,<3.11"
|
2022-05-13 17:42:42 +00:00
|
|
|
click = "^8.0.1"
|
2022-10-06 00:50:33 +00:00
|
|
|
flask = "2.1.3"
|
2022-05-13 17:42:42 +00:00
|
|
|
flask-admin = "*"
|
|
|
|
flask-bcrypt = "*"
|
|
|
|
flask-cors = "*"
|
|
|
|
flask-mail = "*"
|
|
|
|
flask-marshmallow = "*"
|
|
|
|
flask-migrate = "*"
|
|
|
|
flask-restful = "*"
|
|
|
|
werkzeug = "*"
|
2022-10-03 22:25:43 +00:00
|
|
|
# go back to main once https://github.com/sartography/SpiffWorkflow/pull/241 is merged
|
2022-10-05 16:07:51 +00:00
|
|
|
SpiffWorkflow = {git = "https://github.com/sartography/SpiffWorkflow", rev = "main"}
|
|
|
|
# SpiffWorkflow = {develop = true, path = "/Users/kevin/projects/github/sartography/SpiffWorkflow"}
|
2022-09-27 21:58:49 +00:00
|
|
|
# SpiffWorkflow = {develop = true, path = "/home/jason/projects/github/sartography/SpiffWorkflow"}
|
2022-08-11 13:10:30 +00:00
|
|
|
sentry-sdk = "1.9.0"
|
2022-05-13 17:42:42 +00:00
|
|
|
sphinx-autoapi = "^1.8.4"
|
2022-06-30 16:13:14 +00:00
|
|
|
# flask-bpmn = {develop = true, path = "/home/jason/projects/github/sartography/flask-bpmn"}
|
2022-06-16 02:59:11 +00:00
|
|
|
# flask-bpmn = {develop = true, path = "/Users/kevin/projects/github/sartography/flask-bpmn"}
|
2022-08-11 13:10:30 +00:00
|
|
|
flask-bpmn = {git = "https://github.com/sartography/flask-bpmn", rev = "main"}
|
2022-05-16 20:38:48 +00:00
|
|
|
mysql-connector-python = "^8.0.29"
|
2022-05-17 20:35:38 +00:00
|
|
|
pytest-flask = "^1.2.0"
|
|
|
|
pytest-flask-sqlalchemy = "^1.1.0"
|
|
|
|
psycopg2 = "^2.9.3"
|
2022-07-01 21:00:40 +00:00
|
|
|
typing-extensions = "^4.3.0"
|
2022-06-01 18:50:44 +00:00
|
|
|
connexion = {extras = [ "swagger-ui",], version = "^2.13.1"}
|
2022-07-01 20:48:22 +00:00
|
|
|
lxml = "^4.9.1"
|
2022-05-26 20:20:30 +00:00
|
|
|
marshmallow-enum = "^1.5.1"
|
|
|
|
marshmallow-sqlalchemy = "^0.28.0"
|
2022-05-26 21:29:54 +00:00
|
|
|
PyJWT = "^2.4.0"
|
2022-06-01 18:50:44 +00:00
|
|
|
gunicorn = "^20.1.0"
|
2022-06-27 21:15:04 +00:00
|
|
|
types-pytz = "^2022.1.1"
|
2022-08-29 15:48:47 +00:00
|
|
|
python-keycloak = "^2.5.0"
|
2022-08-01 20:44:51 +00:00
|
|
|
APScheduler = "^3.9.1"
|
2022-08-01 20:20:36 +00:00
|
|
|
types-requests = "^2.28.6"
|
2022-09-01 21:38:46 +00:00
|
|
|
Jinja2 = "^3.1.2"
|
2022-10-05 20:59:47 +00:00
|
|
|
RestrictedPython = "^5.2"
|
2022-10-06 00:50:33 +00:00
|
|
|
Flask-SQLAlchemy = "^2.5.1"
|
2022-05-13 17:42:42 +00:00
|
|
|
|
|
|
|
|
|
|
|
[tool.poetry.dev-dependencies]
|
2022-06-25 03:45:11 +00:00
|
|
|
pytest = "^7.1.2"
|
2022-05-13 17:42:42 +00:00
|
|
|
coverage = {extras = ["toml"], version = "^6.1"}
|
2022-06-30 20:43:44 +00:00
|
|
|
safety = "^2.0.0"
|
2022-06-23 14:11:09 +00:00
|
|
|
mypy = ">=0.961"
|
2022-05-13 17:42:42 +00:00
|
|
|
typeguard = "^2.13.2"
|
2022-07-11 22:24:46 +00:00
|
|
|
xdoctest = {extras = ["colors"], version = "^1.0.1"}
|
2022-06-27 21:36:20 +00:00
|
|
|
sphinx = "^5.0.2"
|
2022-05-13 17:42:42 +00:00
|
|
|
sphinx-autobuild = ">=2021.3.14"
|
2022-07-11 20:58:25 +00:00
|
|
|
pre-commit = "^2.20.0"
|
2022-05-13 17:42:42 +00:00
|
|
|
flake8 = "^4.0.1"
|
|
|
|
black = ">=21.10b0"
|
|
|
|
flake8-bandit = "^2.1.2"
|
|
|
|
|
|
|
|
# 1.7.3 broke us. https://github.com/PyCQA/bandit/issues/841
|
|
|
|
bandit = "1.7.2"
|
|
|
|
|
2022-07-01 20:37:20 +00:00
|
|
|
flake8-bugbear = "^22.7.1"
|
2022-05-13 17:42:42 +00:00
|
|
|
flake8-docstrings = "^1.6.0"
|
2022-08-23 16:42:14 +00:00
|
|
|
flake8-rst-docstrings = "^0.2.7"
|
2022-06-25 03:41:47 +00:00
|
|
|
# flask-sqlalchemy-stubs = "^0.2"
|
2022-08-29 15:31:06 +00:00
|
|
|
pep8-naming = "^0.13.2"
|
2022-05-13 17:42:42 +00:00
|
|
|
darglint = "^1.8.1"
|
2022-07-11 21:48:21 +00:00
|
|
|
reorder-python-imports = "^3.8.1"
|
2022-05-13 17:42:42 +00:00
|
|
|
pre-commit-hooks = "^4.0.1"
|
2022-07-05 13:37:25 +00:00
|
|
|
sphinx-click = "^4.3.0"
|
2022-05-13 17:42:42 +00:00
|
|
|
Pygments = "^2.10.0"
|
2022-07-11 21:15:57 +00:00
|
|
|
pyupgrade = "^2.37.1"
|
2022-05-13 17:42:42 +00:00
|
|
|
furo = ">=2021.11.12"
|
2022-05-18 15:18:14 +00:00
|
|
|
MonkeyType = "^22.2.0"
|
2022-06-16 02:59:11 +00:00
|
|
|
sqlalchemy-stubs = "^0.4"
|
2022-05-13 17:42:42 +00:00
|
|
|
|
|
|
|
[tool.poetry.scripts]
|
2022-06-01 15:17:25 +00:00
|
|
|
spiffworkflow-backend = "spiffworkflow_backend.__main__:main"
|
2022-05-13 17:42:42 +00:00
|
|
|
|
2022-08-19 21:46:14 +00:00
|
|
|
[tool.pytest.ini_options]
|
|
|
|
# ignore three deprecation warnings from three different packages
|
|
|
|
filterwarnings = [
|
|
|
|
# note the use of single quote below to denote "raw" strings in TOML
|
|
|
|
# kombu/utils/compat.py:82
|
|
|
|
'ignore:SelectableGroups dict interface is deprecated. Use select.',
|
|
|
|
# marshmallow_sqlalchemy/convert.py:17
|
|
|
|
'ignore:distutils Version classes are deprecated. Use packaging.version instead.',
|
|
|
|
# connexion/spec.py:50
|
|
|
|
'ignore:Passing a schema to Validator.iter_errors is deprecated and will be removed in a future release'
|
|
|
|
]
|
|
|
|
|
2022-05-13 17:42:42 +00:00
|
|
|
[tool.coverage.paths]
|
|
|
|
source = ["src", "*/site-packages"]
|
|
|
|
tests = ["tests", "*/tests"]
|
|
|
|
|
|
|
|
[tool.coverage.run]
|
|
|
|
branch = true
|
2022-06-01 15:17:25 +00:00
|
|
|
source = ["spiffworkflow_backend", "tests"]
|
2022-05-13 17:42:42 +00:00
|
|
|
|
|
|
|
[tool.coverage.report]
|
|
|
|
show_missing = true
|
|
|
|
fail_under = 50
|
|
|
|
|
|
|
|
[tool.mypy]
|
|
|
|
strict = true
|
|
|
|
disallow_any_generics = false
|
|
|
|
warn_unreachable = true
|
|
|
|
pretty = true
|
|
|
|
show_column_numbers = true
|
|
|
|
show_error_codes = true
|
|
|
|
show_error_context = true
|
2022-06-16 03:25:35 +00:00
|
|
|
plugins = "sqlmypy"
|
|
|
|
|
2022-05-13 17:42:42 +00:00
|
|
|
# We get 'error: Module has no attribute "set_context"' for sentry-sdk without this option
|
|
|
|
implicit_reexport = true
|
|
|
|
|
|
|
|
# allow for subdirs to NOT require __init__.py
|
|
|
|
namespace_packages = true
|
|
|
|
explicit_package_bases = false
|
|
|
|
|
|
|
|
[build-system]
|
|
|
|
requires = ["poetry-core>=1.0.0"]
|
|
|
|
build-backend = "poetry.core.masonry.api"
|