-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
97 lines (84 loc) · 1.76 KB
/
Copy pathpyproject.toml
File metadata and controls
97 lines (84 loc) · 1.76 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "umbi"
version = "0.2.12"
description = "Library for input/output of transition systems in a unified Markov binary (UMB) format."
readme = "README.md"
authors = [{name = "Roman Andriushchenko", email = "roman.andriu@gmail.com"}]
license = "MIT"
dependencies = [
"click",
"marshmallow",
"marshmallow_oneofschema",
"bitstring",
"inflect",
]
requires-python = ">=3.12"
[project.urls]
Homepage = "https://github.com/randriu/umbi"
[project.optional-dependencies]
dev = [
"pytest",
"pyright",
"ruff",
"toml-sort",
"uv",
"pre-commit",
"pip-tools",
"bump-my-version",
]
[tool.setuptools.packages.find]
where = ["."]
include = ["umbi*"]
[tool.setuptools]
include-package-data = true
[tool.pytest.ini_options]
# This allows importing examples/ in the tests
pythonpath = ["."]
[project.scripts]
umbi = "umbi.__main__:main"
[tool.umbi]
format_version = 1
format_revision = 0
[tool.bumpversion]
current_version = "0.2.12"
commit = true
tag = true
tag_name = "v{new_version}"
tag_message = "v{new_version}"
message = "bump version {current_version} -> {new_version}"
[[tool.bumpversion.files]]
filename = "pyproject.toml"
[tool.ruff]
line-length = 120
exclude = [
"build",
"dist",
".venv",
"venv",
".git",
"__pycache__",
]
target-version = "py312"
[tool.ruff.lint]
select = ["I"] # enable isort (import sorting) rules
[tool.pyright]
include = [
"umbi",
# "tests",
# "examples",
]
exclude = [
"build",
"**/__pycache__",
"umbi.egg-info",
]
pythonVersion = "3.12"
typeCheckingMode = "standard"
reportMissingImports = true
reportMissingTypeStubs = false
reportImportCycles = "warning"
reportUnusedImport = "warning"
reportUnusedVariable = "warning"