-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpyproject.toml
63 lines (56 loc) · 1.46 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 = "nrkdownload"
version = "3.1.2"
description = ""
authors = ["Martin Høy <marhoy@gmail.com>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.8"
requests = "^2.27.1"
pydantic = "^1.9.0"
loguru = "^0.6.0"
beautifulsoup4 = "^4.11.1"
ffmpeg-python = "^0.2.0"
typer = {extras = ["all"], version = "^0.4.1"}
halo = "^0.0.31"
[tool.poetry.dev-dependencies]
black = "^22.3.0"
flake8 = "^4.0.1"
mypy = "^0.950"
types-requests = "^2.27.16"
types-setuptools = "^57.4.14"
pydocstyle = "^6.1.1"
pre-commit = "^2.18.1"
pytest = "^7.1.1"
pytest-cov = "^3.0.0"
tox = "^3.25.0"
Sphinx = "^4.5.0"
sphinx-rtd-theme = "^1.0.0"
ipykernel = "^6.13.0"
[tool.poetry.scripts]
nrkdownload = "nrkdownload.cli:app"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
addopts = "--verbose --cov-report term-missing:skip-covered --cov=nrkdownload"
# Ignore deprecation warnings from third party packages
filterwarnings = [
"ignore::DeprecationWarning:past.*",
"ignore::DeprecationWarning:halo.*",
]
[tool.isort]
profile = "black"
# This is a very strict mypy-configuration copied from here:
# https://pydantic-docs.helpmanual.io/mypy_plugin/#configuring-the-plugin
[tool.mypy]
plugins = [
"pydantic.mypy",
]
follow_imports = "silent"
warn_redundant_casts = true
warn_unused_ignores = true
disallow_any_generics = true
no_implicit_reexport = true
check_untyped_defs = true
disallow_untyped_defs = true