-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathpyproject.toml
121 lines (106 loc) · 2.28 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
[tool.poetry]
name = "covid"
version = "3.0.0"
authors = ["nf1s"]
readme = "README.md"
description = "Python package to get information regarding the novel corona virus provided by Johns Hopkins university and worldometers.info"
license = "MIT"
homepage = "https://nf1s.github.io/covid/"
repository = "https://github.com/nf1s/covid"
documentation = "https://nf1s.github.io/covid/"
[tool.poetry.extras]
docs = [
"mkdocs",
"mkdocs-material"
]
[tool.poetry.scripts]
covid = "covid.cli:app"
[tool.poetry.dependencies]
python = "^3.10"
requests = "*"
mkdocs = "*"
mkdocs-material = "*"
pydantic = "*"
beautifulsoup4 = "*"
inflection = "*"
bleach = ">=3.*"
jeepney = ">=0.4.2"
click = "*"
typer = "*"
importlib-metadata = "*"
typing-extensions = "*"
[tool.poetry.group.dev.dependencies]
rich = "*"
argh = "*"
pyyaml = "*"
pdbpp = "*"
pygments = "*"
ipython = "*"
[tool.poetry.group.test]
[tool.poetry.group.test.dependencies]
bandit = "*"
flake8 = "*"
flake8-black = "*"
flake8-isort = "*"
mypy = "*"
pytest = "*"
coverage = "*"
pre-commit = "*"
[build-system]
requires = ["poetry-core>=1.2.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 79
target_version = ['py37']
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
)
'''
[tool.pytest.ini_options]
testpaths = "tests"
python_files = "test_*.py"
python_functions = "test_*"
python_classes = "Test* *Tests"
addopts = "-vv -x"
asyncio_mode = "auto"
[tool.mypy]
check_untyped_defs = true
namespace_packages = true
pretty = true
show_error_context = true
[[tool.mypy.overrides]]
module = "tests.*"
ignore_errors = true
[[tool.mypy.overrides]]
module = [
"backoff.*",
"opentracing.*",
"sentinel"
]
ignore_missing_imports = true
[tool.isort]
atomic = true
profile = "black"
line_length = 100
balanced_wrapping = true
known_frameworks = "qlty_monitoring"
known_localfolder = "app"
known_test = "tests"
sections = "FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,FRAMEWORKS,LOCALFOLDER,TEST"
virtual_env = ".venv"
skip = ".venv"