-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
78 lines (70 loc) · 1.68 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
[tool.poetry]
name = "asyncodbc"
version = "0.1.1"
description = "Forked from aioodbc and make improvement"
authors = ["long2ice <[email protected]>"]
license = "Apache-2.0"
readme = "README.rst"
homepage = "https://github.com/tortoise/asyncodbc"
repository = "https://github.com/tortoise/asyncodbc.git"
documentation = "https://github.com/tortoise/asyncodbc"
keywords = ["sql", "async", "asyncio", "aio", "mssql", "odbc"]
packages = [
{ include = "asyncodbc" }
]
include = ["LICENSE", "README.rst"]
[tool.poetry.dependencies]
python = "^3.7"
pyodbc = "*"
[tool.poetry.dev-dependencies]
# Linter tools
mypy = "*"
flake8 = "*"
flake8-comprehensions = "*"
pyproject-flake8 = "*"
darglint = "*"
pylint = "*"
pygments = "*"
bandit = "*"
black = "*"
# Test tools
coveralls = "*"
pytest = "*"
pytest-xdist = "*"
pytest-cov = "*"
pytest-asyncio = "*"
# Pypi
twine = "*"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
asyncio_mode = "auto"
[tool.flake8]
ignore = "E501,W503,DAR101,DAR201,DAR402"
max-line-length = 100
docstring_style = "sphinx"
[tool.coverage.run]
branch = true
source = ["asyncodbc"]
[tool.coverage.report]
show_missing = true
[tool.mypy]
pretty = true
ignore_missing_imports = true
check_untyped_defs = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_defs = false
disallow_incomplete_defs = false
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_return_any = false
warn_unused_configs = true
warn_unreachable = true
allow_redefinition = true
strict_equality = true
show_error_context = true