-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
109 lines (92 loc) · 2.74 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
107
108
109
[build-system]
requires = ["maturin>=1.2,<2.0"]
build-backend = "maturin"
[project]
name = "casers"
version = "0.11.0"
description = "String case converter for Python written in Rust"
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Rust",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
license = {file = "LICENSE"}
keywords = ["case", "rust", "convert cases"]
readme = "README.md"
authors = [{email = "[email protected]"}, {name = "Danil Akhtarov"}]
dependencies = []
[project.optional-dependencies]
pydantic = [
"pydantic>=2.0.0,<3.0.0",
]
[project.urls]
repository = "https://github.com/daxartio/casers"
homepage = "https://pypi.org/project/casers"
Changelog = "https://github.com/daxartio/casers/blob/main/CHANGELOG.md"
[project.scripts]
casers = 'casers.cli.app:run'
[tool.maturin]
module-name = "casers._casers"
features = ["pyo3/extension-module"]
[tool.commitizen]
name = "cz_conventional_commits"
version = "0.11.0"
tag_format = "$version"
version_files = [
"casers/__init__.py",
"Cargo.toml:version",
"pyproject.toml:version"
]
bump_message = "chore(release): version $current_version → $new_version"
update_changelog_on_bump = true
[tool.poetry]
name = "casers"
version = "0.11.0"
description = ""
authors = ["Danil Akhtarov <[email protected]>"]
[tool.poetry.scripts]
casers = 'casers.cli.app:run'
[tool.poetry.dependencies]
python = "^3.8"
pydantic = {version = "^2", optional = true}
[tool.poetry.group.dev.dependencies]
black = "^24"
maturin = "^1.8.2"
mypy = "^1.14"
pytest = "^8.3"
pytest-benchmark = "^4.0.0"
pytest-cov = "^5.0.0"
pytest-deadfixtures = "^2.2.1"
pytest-mock = "^3.14"
[tool.poetry.group.git.dependencies]
commitizen = "^3.29.1"
[tool.poetry.extras]
pydantic = ["pydantic"]
[tool.mypy]
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
ignore_missing_imports = true
no_implicit_optional = true
[[tool.mypy.overrides]]
module = "tests.*"
disallow_untyped_defs = false
disallow_incomplete_defs = false
[tool.coverage.run]
omit = ["tests/*", "**/__main__.py", "**/.venv/*", "**/site-packages/*", "casers/cli/*", "benches/*"]
branch = true
[tool.coverage.report]
show_missing = true
skip_covered = true
fail_under = 100
[tool.pytest.ini_options]
addopts = "--strict-markers --showlocals --verbosity 2 --doctest-modules --doctest-continue-on-failure --doctest-glob=README.md"
log_level = "DEBUG"