Skip to content

Instantly share code, notes, and snippets.

@stratosgear
Created November 15, 2019 11:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stratosgear/336ca890ed93be7f7aefd217dc5f6d54 to your computer and use it in GitHub Desktop.
Save stratosgear/336ca890ed93be7f7aefd217dc5f6d54 to your computer and use it in GitHub Desktop.
[tool.poetry]
name = "XXXXX"
version = "1.2.3"
description = "Project description"
authors = ["me <me@internet.com>"]
license = "MIT"
[tool.poetry.dependencies]
python = "^3.7"
fastapi= "^0.39.0"
uvicorn= "^0.9.0"
aiofiles = "^0.4.0"
# security
PyJWT = "^1.7.1"
bcrypt= "^3.1.7"
passlib = "^1.7.1"
python-multipart = "^0.0.5"
email-validator = "^1.0.4"
celery = "^4.3.0"
# gotta stay with this kombu due to:
# https://github.com/mher/flower/issues/909
kombu = "4.6.3"
tenacity = "^5.1.1"
pydantic = "^0.32.2"
emails = "^0.5.15"
gunicorn = "19.9.0"
jinja2 = "^2.10.1"
# database
psycopg2-binary = "^2.8.3"
alembic = "^1.2.0"
SQLAlchemy = "^1.3.9"
sentry-sdk = "^0.12.2"
sentry-asgi = "^0.2.0"
requests = "^2.22.0"
zstd = "^1.4.3.2"
healpy = "^1.12.10"
astropy_healpix = "^0.4"
regions = "^0.4"
mocpy = "^0.7.1"
astroquery = "^0.3.10"
pandas = "^0.25.2"
memory-profiler = "^0.55.0"
# Latest version of `0.4.2` causes dependency issues.
cdshealpix = "0.4.0"
[tool.poetry.dev-dependencies]
pip = "^19.2.3"
wheel = "^0.32.3"
watchdog = "^0.9.0"
flake8 = "^3.6.0"
tox = "^3.7.0"
coverage = "^4.5.2"
twine = "^1.12.1"
black = "^19.10b0"
pytest = "^4.1.1"
pytest-runner = "^4.2"
pytest-benchmark = "^3.2.2"
radon="^4.0.0"
astroid="^2.3.1"
pylint="^2.4.2"
jupyter = "^1.0.0"
invoke = "^1.3.0"
isort = "^4.3.21"
docutils-python3 = "^0.13"
doc8 = "^0.8.0"
#nbconvert = "^5.4.1"
reno = "^2.11.3"
semver = "^2.9.0"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
[tool.isort]
# to have them as separate file: .isort.cfg
# These settings have to be also be reflected in the .workspace config file
# So that VSCode will perform an identical "Sort Imports" operation
multi_line_output = 3
include_trailing_comma = "True"
force_grid_wrap = 0
use_parentheses = "True"
line_length = 88
skip = ".history,.venv"
virtual_env = "backend/src/.venv"
force_adds = "True"
verbose = "True"
[tool.black]
line-length = 88
target_version = ['py37']
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.mypy_cache
| \.tox
| \.venv
| \.history
| _build
| build
| dist
)/
| foo.py # also separately exclude a file named foo.py in
# the root of the project
)
'''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment