-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
64 lines (59 loc) · 1.54 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
# Copyright 2023 Lei Zhang
#
# 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
#
# http://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 = ["flit_core==3.9.0"]
build-backend = "flit_core.buildapi"
[project]
name = "gitlab-bot"
version = "1.2.1"
description = ""
requires-python = ">=3.9"
dependencies = [
"gidgetlab[aiohttp]>=1.1.0",
"langchain==0.3.6",
"langchain-openai==0.2.5",
"langchain_google_genai==2.0.4",
"python-dotenv==1.0.1",
]
[project.optional-dependencies]
lint = [
"flake8==5.0.4",
"pyproject-flake8==5.0.4",
"isort>=5,<6",
"black>=23,<24"
]
package = [
"flit==3.9.0"
]
[tool.flake8]
max-line-length = 300
ignore = ['E231', 'E241', 'W291', 'W293', 'W503', 'E402']
per-file-ignores = [
'__init__.py:F401',
]
count = true
[tool.coverage.report]
exclude_also = [
"def __repr__",
"if self.debug:",
"if settings.DEBUG",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"class .*\\bProtocol\\):",
"@(abc\\.)?abstractmethod",
"except Exception as e:",
]