-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
65 lines (49 loc) · 1.31 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
[tool.poetry]
name = "web"
version = "0.1.0"
description = "Simple http dockerized web for testing purposes."
license = "MIT"
authors = ["Petr Kubelka <[email protected]>"]
readme = 'README.md' # Markdown files are supported
repository = "https://github.com/KSonny4/simple-http-web"
include = ["*.conf", "*.json", "py.typed"]
[tool.poetry.dependencies]
python = "^3.11"
aiohttp = "^3.5.4"
aiofiles = "^23.1.0"
[tool.poetry.dev-dependencies]
pytest = "^5.0"
pytest-cov = "^2.8.1"
pytest-mypy = "^0.8.0"
pytest-pylint = "^0.14.1"
pytest-black = "^0.3.12"
pytest-asyncio = "^0.14.0"
isort = "^5.7.0"
[tool.poetry.scripts]
web = "web.web:main"
[tool.pytest.ini_options]
addopts = "--verbose --pylint --pylint-rcfile=pyproject.toml --cov=web.web --cov-report html --mypy --black"
[tool.pylint.master]
good-names = "logger,e,i,j,n,m,f,_"
[tool.pylint.messages_control]
disable = "all"
enable = """,
unused-import,
fixme,
useless-object-inheritance,
unused-variable,
unused-argument,
unexpected-keyword-arg,
string,
unreachable,
invalid-name,
logging-format-interpolation,
logging-fstring-interpolation,
unnecesary-pass,
"""
ignored_argument_names = "_.*|^ignored_|^unused_|args|kwargs"
[tool.black]
target-version = ['py38']
[mypy]
strict = true
ignore_missing_imports = true