-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (64 loc) · 1.59 KB
/
Copy pathpyproject.toml
File metadata and controls
75 lines (64 loc) · 1.59 KB
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
[build-system]
requires = ["setuptools>=69", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "mysql-binlog-archiver"
version = "0.1.0"
description = "Minimal MySQL binlog archiver runtime for remote mysqlbinlog streaming"
readme = "README.md"
requires-python = ">=3.10"
license = { file = "LICENSE" }
authors = [
{ name = "Maintainers" }
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Operating System :: POSIX :: Linux",
"Topic :: Database",
"Topic :: System :: Archiving",
]
dependencies = []
[project.optional-dependencies]
dev = [
"mypy>=1.11.0",
"pytest>=8.3.0",
"ruff>=0.6.0",
]
[project.scripts]
mysql-binlog-archiver = "mysql_binlog_archiver.__main__:main"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.ruff]
target-version = "py310"
line-length = 120
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP"]
ignore = ["E501"]
[tool.mypy]
python_version = "3.10"
warn_unused_configs = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = false
warn_unreachable = true
strict_optional = true
check_untyped_defs = true
mypy_path = ["src"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-q"
[tool.pylint.format]
max-line-length = 120
[tool.pylint."messages control"]
disable = [
"broad-exception-caught",
"too-many-instance-attributes",
"too-many-locals",
"too-many-return-statements",
]