2019-12-22 12:57:16 +01:00
|
|
|
[tool.black]
|
|
|
|
exclude = '''
|
|
|
|
(
|
|
|
|
/(
|
|
|
|
\.eggs # exclude a few common directories in the
|
|
|
|
| \.git # root of the project
|
|
|
|
| \.hg
|
|
|
|
| \.mypy_cache
|
|
|
|
| \.tox
|
|
|
|
| \.venv
|
|
|
|
| _build
|
|
|
|
| buck-out
|
|
|
|
| build
|
|
|
|
| dist
|
|
|
|
| migrations # migrations/ is generated by alembic
|
|
|
|
)/
|
|
|
|
)
|
|
|
|
'''
|
2020-10-01 12:13:28 +02:00
|
|
|
|
|
|
|
[tool.poetry]
|
|
|
|
name = "SimpleLogin"
|
|
|
|
version = "0.1.0"
|
|
|
|
description = "open-source email alias solution"
|
|
|
|
authors = ["SimpleLogin <dev@simplelogin.io>"]
|
|
|
|
license = "MIT"
|
|
|
|
repository = "https://github.com/simple-login/app"
|
|
|
|
keywords = ["email", "alias", "privacy", "oauth2", "openid"]
|
|
|
|
|
|
|
|
[tool.poetry.dependencies]
|
|
|
|
python = "^3.7"
|
|
|
|
flask = "^1.1.2"
|
|
|
|
flask_sqlalchemy = "^2.4.4"
|
|
|
|
flask_login = "^0.5.0"
|
|
|
|
wtforms = "^2.3.3"
|
|
|
|
unidecode = "^1.1.1"
|
|
|
|
gunicorn = "^20.0.4"
|
|
|
|
bcrypt = "^3.2.0"
|
|
|
|
python-dotenv = "^0.14.0"
|
|
|
|
ipython = "^7.18.1"
|
|
|
|
sqlalchemy_utils = "^0.36.8"
|
|
|
|
psycopg2-binary = "^2.8.6"
|
|
|
|
sentry_sdk = "^0.18.0"
|
|
|
|
blinker = "^1.4"
|
|
|
|
arrow = "^0.16.0"
|
|
|
|
Flask-WTF = "^0.14.3"
|
|
|
|
boto3 = "^1.15.9"
|
|
|
|
Flask-Migrate = "^2.5.3"
|
|
|
|
flask_admin = "^1.5.6"
|
|
|
|
flask-cors = "^3.0.9"
|
|
|
|
watchtower = "^0.8.0"
|
|
|
|
sqlalchemy-utils = "^0.36.8"
|
|
|
|
jwcrypto = "^0.8"
|
|
|
|
yacron = "^0.11.1"
|
|
|
|
flask-debugtoolbar = "^0.11.0"
|
|
|
|
requests_oauthlib = "^1.3.0"
|
|
|
|
pyopenssl = "^19.1.0"
|
|
|
|
aiosmtpd = "^1.2"
|
|
|
|
dnspython = "^2.0.0"
|
|
|
|
coloredlogs = "^14.0"
|
|
|
|
pycryptodome = "^3.9.8"
|
|
|
|
phpserialize = "^1.3"
|
|
|
|
dkimpy = "^1.0.5"
|
|
|
|
pyotp = "^2.4.0"
|
|
|
|
flask_profiler = "^1.8.1"
|
|
|
|
facebook-sdk = "^3.1.0"
|
|
|
|
google-api-python-client = "^1.12.3"
|
|
|
|
google-auth-httplib2 = "^0.0.4"
|
|
|
|
python-gnupg = "^0.4.6"
|
|
|
|
webauthn = "^0.4.7"
|
|
|
|
pyspf = "^2.0.14"
|
|
|
|
Flask-Limiter = "^1.4"
|
|
|
|
memory_profiler = "^0.57.0"
|
|
|
|
gevent = "^20.9.0"
|
|
|
|
aiospamc = "^0.6.1"
|
2020-10-01 12:21:37 +02:00
|
|
|
email_validator = "^1.1.1"
|
2020-10-28 11:50:14 +01:00
|
|
|
PGPy = "^0.5.3"
|
2020-11-03 10:50:47 +01:00
|
|
|
py3-validate-email = "^0.2.10"
|
2020-10-01 12:13:28 +02:00
|
|
|
|
|
|
|
[tool.poetry.dev-dependencies]
|
|
|
|
pytest = "^6.1.0"
|
|
|
|
black = "^20.8b1"
|
|
|
|
pre-commit = "^2.7.1"
|
2020-12-05 15:00:56 +01:00
|
|
|
pytest-cov = "^2.10.1"
|
2020-12-06 11:25:24 +01:00
|
|
|
flake8 = "^3.8.4"
|
2020-10-01 12:13:28 +02:00
|
|
|
|
|
|
|
[build-system]
|
|
|
|
requires = ["poetry>=0.12"]
|
|
|
|
build-backend = "poetry.masonry.api"
|
2020-12-05 15:00:56 +01:00
|
|
|
|
|
|
|
[tool.pytest.ini_options]
|
|
|
|
addopts = """
|
|
|
|
--cov=.
|
|
|
|
--cov-report=term:skip-covered
|
|
|
|
--cov-report=html:htmlcov
|
|
|
|
--cov-fail-under=60
|
|
|
|
"""
|