This repository has been archived by the owner on Jul 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
106 lines (99 loc) · 2.79 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
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "google-auth-plugins"
dynamic = ["version"]
description = "A set of custom plugins for Google Authentication Library"
readme = "README.md"
license = { file = "LICENSE" }
authors = [
{ name = "Loïc Sikidi", email = "[email protected]" }
]
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Operating System :: POSIX",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS :: MacOS X",
"Operating System :: OS Independent",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Security",
]
dependencies = [
"google-auth >= 2.0.0",
"requests",
]
requires-python = ">=3.7"
[project.optional-dependencies]
test = [
"pytest",
"pytest-cov",
"coverage[toml]"
]
lint = [
"bandit",
"black",
"isort",
"interrogate",
"mypy",
]
dev = [
"build",
"bump >= 1.3.2",
"google-auth-plugins[test,lint]",
]
[tool.isort]
multi_line_output = 3
known_first_party = "google-auth-plugins"
include_trailing_comma = true
profile = "black"
[tool.interrogate]
# don't enforce documentation coverage for packaging, testing, the virtual
# environment
exclude = ["env", "test"]
ignore-private = true
# FIXME currently overridden. see https://github.com/econchick/interrogate/issues/12
ignore-regex = ["^(refresh|with_quota_project|with_scopes)"]
fail-under = 100
[tool.coverage.run]
# branch coverage in addition to statement coverage.
branch = true
# FIXME currently overridden. see: https://pytest-cov.readthedocs.io/en/latest/config.html
# include machine name, process id, and a random number in `.coverage-*` so each file is distinct.
parallel = true
# store relative path info for aggregation across runs with potentially differing filesystem layouts.
# see: https://coverage.readthedocs.io/en/7.1.0/config.html#config-run-relative-files
relative_files = true
[tool.coverage.report]
exclude_lines = [
"@abc.abstractmethod",
"@typing.overload",
"if typing.TYPE_CHECKING",
]
[tool.mypy]
allow_redefinition = true
check_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
ignore_missing_imports = true
no_implicit_optional = true
show_error_codes = true
sqlite_cache = true
strict_equality = true
warn_no_return = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
warn_unused_configs = true
warn_unused_ignores = true
[tool.bandit]
exclude_dirs = ["./tests"]