-
Notifications
You must be signed in to change notification settings - Fork 9
/
pyproject.toml
100 lines (90 loc) · 2.71 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
[tool.poetry]
name = "ancv"
version = "1.3.1"
description = "Renders your (JSON) resume/CV for online & pretty terminal display"
authors = ["Alex Povel <[email protected]>"]
readme = "README.md"
license = "MIT"
homepage = "https://ancv.io"
repository = "https://github.com/alexpovel/ancv/"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Environment :: Web Environment",
"Framework :: AnyIO",
"Framework :: AsyncIO",
"Framework :: Pytest",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Natural Language :: English",
"Natural Language :: German",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Office/Business",
"Topic :: System :: Shells",
"Topic :: Terminals",
"Topic :: Terminals :: Terminal Emulators/X Terminals",
"Topic :: Text Processing",
"Topic :: Text Processing :: Markup",
"Typing :: Typed",
]
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/alexpovel/ancv/issues/"
"Changelog" = "https://github.com/alexpovel/ancv/blob/main/CHANGELOG.md"
"Pull Requests" = "https://github.com/alexpovel/ancv/pulls"
[tool.poetry.dependencies]
# https://stackoverflow.com/a/69608708/11477374:
python = "^3.10"
gidgethub = "^5.1.0"
aiohttp = {extras = ["speedups"], version = "^3.8.1"}
pydantic = {extras = ["email"], version = "^1.9.1"}
structlog = ">=21.5,<24.0"
cachetools = "^5.2.0"
humanize = "^4.1.0"
rich = ">=12.4.4,<14.0.0"
typer = ">=0.6.1,<0.10.0"
Babel = "^2.10.3"
[tool.poetry.group.dev.dependencies]
black = ">=22.3,<24.0"
pytest = "^7.1.2"
datamodel-code-generator = {extras = ["http"], version = ">=0.13,<0.22"}
mypy = "^0.960"
types-cachetools = "^5.0.1"
pydeps = "^1.10.18"
pytest-cov = "^4.0.0"
pytest-aiohttp = "^1.0.4"
pytest-rerunfailures = ">=10.2,<13.0"
requests = "^2.28.1"
types-babel = "^2.10.0"
ruff = ">=0.0.224,<0.0.288"
ipython = "^8.14.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
ancv = "ancv.__main__:app"
[tool.coverage.run]
branch = true
[tool.ruff]
# `E501` is line length violation
ignore = ["E501"]
[tool.coverage.report]
fail_under = 80.0
[tool.datamodel-codegen]
target-python-version = "3.10"
[tool.mypy]
mypy_path = "stubs/"
show_error_codes = true
strict = true
namespace_packages = true
disallow_any_unimported = true
disallow_any_explicit = true
disallow_any_generics = true
disallow_subclassing_any = true
disallow_untyped_defs = true
no_implicit_optional = true
check_untyped_defs = true
warn_return_any = true
warn_unused_ignores = true