-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
92 lines (83 loc) · 2.04 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
[tool.poetry]
name = "sutoppu"
version = "1.1.0"
description = "A simple python implementation of Specification pattern."
authors = ["u8slvn <[email protected]>"]
license = "MIT"
readme = "README.md"
packages = [{include = "sutoppu.py", from = "src"}]
repository = "https://github.com/u8slvn/sutoppu"
homepage = "https://github.com/u8slvn/sutoppu"
classifiers = [
"Intended Audience :: Developers",
"Development Status :: 5 - Production/Stable",
"Topic :: Software Development :: Testing",
"Topic :: Software Development :: Build Tools",
"Topic :: Software Development :: Libraries :: Python Modules",
"Natural Language :: English",
"Programming Language :: Python",
"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",
"Operating System :: OS Independent",
]
keywords=[
"specification",
"specification-pattern",
"DDD",
"domain-driven-design",
"business-rules",
"verification",
]
include = [
"LICENSE",
"CHANGELOG.md",
"README.md",
]
[tool.poetry.dependencies]
python = "^3.8.1"
[tool.poetry.group.dev.dependencies]
pytest-cov = "^4.0.0"
pytest-mock = "^3.10.0"
pytest = "^7.2.2"
mypy = "^1.8.0"
tox = "^4.12.1"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
files = "src/"
mypy_path = "src/"
namespace_packages = true
show_error_codes = true
ignore_missing_imports = true
strict = true
[tool.black]
line_length = 88
[tool.ruff]
fix = true
line-length = 88
extend-select = [
"I", # isort
"N", # pep8-naming
]
[tool.ruff.isort]
force-single-line = true
lines-between-types = 1
lines-after-imports = 2
required-imports = [
"from __future__ import annotations",
]
[tool.coverage.report]
exclude_lines = [
"raise NotImplementedError",
]
[tool.pytest.ini_options]
pythonpath = "src/"
testpaths = ["tests"]
addopts = [
"--cov=src/",
"--import-mode=importlib",
]