-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
62 lines (55 loc) · 1.38 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "supersonic"
version = "0.2.4"
description = "GitHub PR automation for modern applications"
readme = "README.md"
license = "MIT"
authors = [
{ name = "Cased", email = "[email protected]" }
]
requires-python = ">=3.11"
dependencies = [
"pydantic>=2.0.0,<3.0.0",
"pygithub>=2.1.1,<3.0.0",
"click>=8.1.3,<9.0.0",
"gitpython>=3.1.40,<4.0.0",
"jinja2>=3.1.2,<4.0.0",
"requests>=2.31.0,<3.0.0",
"types-requests>=2.31.0,<3.0.0",
]
[project.optional-dependencies]
dev = [
"mypy>=1.5.1,<2.0.0",
"pytest>=7.4.0,<8.0.0",
"pytest-cov>=4.1.0,<5.0.0",
"ruff>=0.1.9,<0.2.0",
"types-click>=7.1.8,<8.0.0",
"pytest-mypy>=0.10.3,<0.11.0",
]
[project.scripts]
supersonic = "supersonic.cli:cli"
[tool.ruff]
line-length = 88
target-version = "py311"
[tool.mypy]
python_version = "3.8"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = false
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_unreachable = true
[[tool.mypy.overrides]]
module = ["pytest.*", "click.*", "git.*", "github.*", "pydantic.*"]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ["supersonic.tests.*"]
ignore_errors = true