-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
92 lines (82 loc) · 2.12 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
[tool.poetry]
name = "openid-whisperer"
version = "0.1.10"
description = "OpenID 1.0 Mock Identity Service"
license = "MIT"
authors = ["Robert Betts <betts_robert@yahoo.com>"]
maintainers = ["Robert Betts <betts_robert@yahoo.com>"]
readme = "README.md"
homepage = "https://github.com/robertbetts/openid-whisperer"
repository = "https://github.com/robertbetts/openid-whisperer"
keywords = ["python", "mock", "api", "oauth2", "openid"]
classifiers = [
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.10',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent'
]
packages = [
{include = "openid_whisperer", from = "src" }
]
[tool.poetry.scripts]
openid-whisperer = 'openid_whisperer.main:main'
[tool.pytest]
env_files = [".env_test"]
testpaths = ["tests"]
[tool.pytest.ini_options]
log_cli = true
log_level = "DEBUG"
log_cli_format = "%(asctime)s %(levelname)s %(message)s"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
[tool.coverage.run]
omit = [".*", "*/site-packages/*"]
[tool.coverage.report]
fail_under = 95
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:"
]
[tool.mypy]
ignore_missing_imports = true
check_untyped_defs = true
#files = "src, example_src"
files = "src"
mypy_path = "src"
namespace_packages = true
explicit_package_bases = true
show_error_codes = true
strict = true
enable_error_code = [
"ignore-without-code",
"redundant-expr",
"truthy-bool",
]
exclude = [
"tests",
]
[tool.pylint]
#ignore-paths = "tests"
notes = "FIXME,XXX"
[tool.poetry.dependencies]
python = "^3.10"
pyjwt = "^2.6.0"
requests = {extras = ["security"], version = "^2.31.0"}
types-requests = "^2.31.0.1"
cryptography = "^41.0.3"
pyyaml = "^6.0"
flask = {extras = ["async"], version = "^2.2.3"}
python-dotenv = "^1.0.0"
Faker = "^18.13.0"
flask-session = "^0.5.0"
[tool.poetry.group.dev.dependencies]
poetry = "^1.5.1"
pytest = "^7.3.1"
certifi = "^2023.07.22"
coverage = {extras = ["toml"], version = "^7.2.7"}
pytest-dotenv = "^0.5.2"
black = "^23.3.0"
msal = "1.22.0"
mypy = "^1.4.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"