-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
63 lines (54 loc) · 1.72 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
[tool.poetry]
name = "aio-odoorpc-base"
description = "Fast, simple Odoo RPC package with sync and async functions to pilot Odoo's jsonrpc API. Check aio-odoorpc for a higher-level, friendlier interface."
version = "3.1.0"
license = "MIT"
authors = ["mbello <[email protected]>"]
readme = "README.md"
repository = "https://github.com/mbello/aio-odoorpc-base"
homepage = "https://github.com/mbello/aio-odoorpc-base"
keywords = ['odoo', 'odoorpc', 'asyncio', 'aio-odoorpc']
[tool.poetry.dependencies]
python = "^3.8"
[tool.poetry.dev-dependencies]
httpx = {extras = ["http2"], version = "*"}
requests = "*"
aiohttp = "*"
beautifulsoup4 = "*"
odoo-find-runbot-instance = "*"
pytest-asyncio = "*"
flake8 = "*"
black = "*"
coverage = {extras = ["toml"], version = "*"}
pytest = "*"
pytest-cov = "*"
toml = "*"
flake8-bugbear = "*"
flake8-comprehensions = "*"
nox = "*"
safety = "^1.10.3"
flake8-bandit = "^2.1.2"
nox-poetry = "^0.8.5"
invoke = "^1.5.0"
[build-system]
requires = ["poetry>=1.0"]
build-backend = "poetry.masonry.api"
[tool.pytest.ini_options]
markers = [
"auto: marks tests that can be run against a random Odoo instance on Odoo's runbot servers. Basically, any test that do not require the master password to be known.",
"slow: marks tests that run too slow."]
[tool.coverage]
paths = {source = ["aio_odoorpc_base", "*/site-packages"]}
run = {branch = true, source = ["aio_odoorpc_base"]}
report = {show_missing = true, fail_under = 90}
[tool.black]
line-length = 92
target-version = ["py38"]
[tool.flake8]
max-line-length = 92
select = "C,E,F,W,B,B9,C4,S"
max-complexity = 12
extend-ignore = "E203, E501, B011"
per-file-ignores = "tests/*:S101"
[tool.pyenv]
python-version = ["3.6", "3.7", "3.8", "3.9", "pypy3.7"]