Initial commit

This commit is contained in:
2021-11-12 19:02:55 +00:00
commit 84f9a2290c
10 changed files with 950 additions and 0 deletions

52
pyproject.toml Normal file
View File

@@ -0,0 +1,52 @@
[tool.poetry]
name = "template"
version = "0.1.0"
description = ""
authors = ["daviddoji <daviddoji@pm.me>"]
[tool.poetry.dependencies]
python = "^3.9"
[tool.poetry.dev-dependencies]
pytest = "^5.2"
pytest-cov = "^3.0.0"
pre-commit = "^2.15.0"
flake8 = "^4.0.1"
mypy = "^0.910"
isort = "^5.9.3"
black = {version = "^21.10b0", allow-prereleases = true}
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 79
[tool.black]
line-length = 79
target-version = ['py38']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
| foo.py # also separately exclude a file named foo.py in
# the root of the project
)
'''