-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
98 lines (87 loc) · 2.08 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
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
[build-system]
requires = [
"setuptools",
# TODO(https://github.com/jelmer/setuptools-protobuf/issues/30): Remove
# version requirement.
"setuptools-protobuf[mypy] != 0.1.11",
]
build-backend = "setuptools.build_meta"
[project]
name = "rock-paper-sand"
version = "0"
requires-python = ">=3.11"
dependencies = [
"absl-py",
"immutabledict",
"jmespath",
"jsonschema",
"protobuf",
"python-dateutil",
"pyyaml",
"requests",
"requests-cache",
"urllib3",
]
[project.optional-dependencies]
test = [
"types-jmespath",
"types-jsonschema",
"types-protobuf",
"types-python-dateutil",
"types-pyyaml",
"types-requests",
]
[project.scripts]
rock-paper-sand = "rock_paper_sand.main:main"
[tool.black]
line-length = 80
[tool.coverage.run]
omit = [
"**/*_pb2.py",
"**/*_test.py",
"**/conftest.py",
]
[tool.isort]
profile = "google"
# TODO(https://github.com/PyCQA/isort/pull/2149): Delete line_length and
# single_line_exclusions.
line_length = 9999
single_line_exclusions = [
"collections.abc",
"typing",
]
skip_gitignore = true
src_paths = ["rock_paper_sand"]
[tool.mypy]
disallow_any_generics = true
disallow_untyped_defs = true
packages = ["rock_paper_sand"]
warn_redundant_casts = true
warn_unreachable = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
module = [
"absl.*",
]
ignore_missing_imports = true
[tool.pytest.ini_options]
addopts = """\
--cov=. \
--cov-branch \
--cov-report=term-missing \
"""
[tool.setuptools.packages.find]
include = ["rock_paper_sand", "rock_paper_sand.*"]