Skip to content

Instantly share code, notes, and snippets.

@koralle
Last active October 11, 2021 06:43
Show Gist options
  • Save koralle/5eee30c6905654cb3f40645c3a96edfa to your computer and use it in GitHub Desktop.
Save koralle/5eee30c6905654cb3f40645c3a96edfa to your computer and use it in GitHub Desktop.
[tool.poetry]
name = "sample"
version = "0.1.0"
description = "This is a sample of pyproject.toml"
authors = ["koralle"]
[tool.poetry.dependencies]
python = "^3.9"
[tool.poetry.dev-dependencies]
flake8 = "^3.9.2"
mypy = "^0.910"
black = "^21.9b0"
isort = "^5.9.3"
autoflake = "^1.4"
pytest = "^6.2.5"
bandit = "^1.7.0"
pre-commit = "^2.15.0"
flake8-bugbear = "^21.9.2"
flake8-builtins = "^1.5.3"
flake8-eradicate = "^1.1.0"
pep8-naming = "^0.12.1"
flake8-expression-complexity = "^0.0.9"
flake8-cognitive-complexity = "^0.1.0"
pytest-cov = "^3.0.0"
pytest-mock = "^3.6.1"
pytest-echo = "^1.7.1"
pytest-describe = "^2.0.0"
rich = "^10.12.0"
[tool.black]
line-length = 119
target-version = ['py39']
[tool.isort]
profile = "black"
line_length = 119
[tool.mypy]
python_version = "3.9"
strict = true
ignore_missing_imports = true
[tool.pytest.ini_options]
minversion = "6.0"
addopts = """
--echo-env PWD
--echo-version fastapi
--echo-version uvicorn
--echo-version starlette
--pdb
--ff
-vv
--capture=no
--durations=10
"""
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment